Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 182 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.252/2.252, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 100 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5844/0.5844, allocations: 43.55 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005532/0.0005534, allocations: 12 kB / 431.5 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1437, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW): time 0.003657/0.1474, allocations: 1.981 MB / 492.3 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.1514, allocations: 1.56 MB / 493.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003498/0.1518, allocations: 4 kB / 493.9 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.1523, allocations: 87.47 kB / 494 MB, free: 7.453 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000597/0.1529, allocations: 167.4 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1542, allocations: 283.3 kB / 494.4 MB, free: 7.012 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.1557, allocations: 0.7909 MB / 495.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004349/0.1562, allocations: 211.5 kB / 495.4 MB, free: 6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007637/0.157, allocations: 385.9 kB / 495.8 MB, free: 5.621 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008046/0.1578, allocations: 489.3 kB / 496.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1579, allocations: 32 kB / 496.3 MB, free: 5.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.1602, allocations: 0.8698 MB / 497.2 MB, free: 4.238 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005449/0.1608, allocations: 242.8 kB / 497.4 MB, free: 4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.1612, allocations: 232.8 kB / 497.6 MB, free: 3.766 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002741/0.164, allocations: 1.255 MB / 498.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.164, allocations: 0 / 498.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.164, allocations: 0 / 498.9 MB, free: 2.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.1641, allocations: 4 kB / 498.9 MB, free: 2.504 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003521/0.1676, allocations: 1.465 MB / 0.4886 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.1677, allocations: 8.031 kB / 0.4886 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000652/0.1684, allocations: 312.4 kB / 0.4889 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004356/0.1688, allocations: 177.8 kB / 0.4891 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3312/0.5, allocations: 0.6296 MB / 0.4897 GB, free: 42.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.5004, allocations: 140 kB / 0.4898 GB, free: 42.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005206/0.5009, allocations: 184.4 kB / 0.49 GB, free: 42.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007768/0.5087, allocations: 2.763 MB / 0.4927 GB, free: 42.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.647e-05/0.5088, allocations: 0.7656 kB / 0.4927 GB, free: 42.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.5091, allocations: 74.56 kB / 0.4928 GB, free: 42.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003172/0.5094, allocations: 169.4 kB / 0.4929 GB, free: 42.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.5195, allocations: 3.759 MB / 0.4966 GB, free: 41.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/0.5386, allocations: 6.686 MB / 0.5031 GB, free: 38.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.5408, allocations: 0.6813 MB / 0.5038 GB, free: 38.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.5409, allocations: 28.61 kB / 0.5038 GB, free: 38.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.541, allocations: 42.69 kB / 0.5039 GB, free: 38.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.547e-06/0.541, allocations: 0 / 0.5039 GB, free: 38.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.003365/0.5444, allocations: 0.9745 MB / 0.5048 GB, free: 38.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.5445, allocations: 62.34 kB / 0.5049 GB, free: 38.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.5468, allocations: 1.385 MB / 0.5062 GB, free: 37.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.547, allocations: 40.95 kB / 0.5063 GB, free: 37.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009389/0.548, allocations: 1.349 MB / 0.5076 GB, free: 36.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004834/0.5485, allocations: 270.4 kB / 0.5079 GB, free: 36.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.5487, allocations: 64.91 kB / 0.5079 GB, free: 36.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.5489, allocations: 438.2 kB / 0.5083 GB, free: 36.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.551, allocations: 0.6927 MB / 0.509 GB, free: 35.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.5545, allocations: 2.741 MB / 0.5117 GB, free: 32.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003464/0.558, allocations: 1.275 MB / 0.5129 GB, free: 32.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.556e-05/0.5582, allocations: 19.62 kB / 0.513 GB, free: 32.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009491/0.5677, allocations: 3.276 MB / 0.5162 GB, free: 31.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.5678, allocations: 36.5 kB / 0.5162 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.5679, allocations: 73.31 kB / 0.5163 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.5681, allocations: 114.9 kB / 0.5164 GB, free: 31.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005078/0.5731, allocations: 0.8688 MB / 0.5172 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.576, allocations: 6.062 MB / 0.5231 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/0.5793, allocations: 439.7 kB / 0.5236 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006259/0.58, allocations: 215 kB / 0.5238 GB, free: 24.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001611/0.5816, allocations: 0.7108 MB / 0.5245 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.5819, allocations: 123.6 kB / 0.5246 GB, free: 24.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005183/0.5871, allocations: 1.29 MB / 0.5258 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.5871, allocations: 12.41 kB / 0.5258 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5871, allocations: 0 / 0.5258 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5872, allocations: 7.359 kB / 0.5259 GB, free: 24.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.5892, allocations: 0.9565 MB / 0.5268 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5892, allocations: 1.188 kB / 0.5268 GB, free: 23.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00231/0.5915, allocations: 335.6 kB / 0.5271 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/0.5916, allocations: 0 / 0.5271 GB, free: 23.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/0.5918, allocations: 32.14 kB / 0.5271 GB, free: 23.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.5944, allocations: 5.92 MB / 0.5329 GB, free: 17.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5944, allocations: 0 / 0.5329 GB, free: 17.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.597, allocations: 0.9007 MB / 0.5338 GB, free: 17.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.5977, allocations: 290.2 kB / 0.5341 GB, free: 17.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.5979, allocations: 20.16 kB / 0.5341 GB, free: 17.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007634/0.5987, allocations: 44.3 kB / 0.5341 GB, free: 17.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.5989, allocations: 66.59 kB / 0.5342 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.599, allocations: 42.58 kB / 0.5342 GB, free: 17.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001508/0.6005, allocations: 0.7789 MB / 0.535 GB, free: 16.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6006, allocations: 0 / 0.535 GB, free: 16.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003318/0.6039, allocations: 497.4 kB / 0.5355 GB, free: 16.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00339/0.6073, allocations: 1.542 MB / 0.537 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006791/0.6142, allocations: 1.912 MB / 0.5389 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.6143, allocations: 1.188 kB / 0.5389 GB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.6168, allocations: 0.5161 MB / 0.5394 GB, free: 15.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.6176, allocations: 92.59 kB / 0.5394 GB, free: 15.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04524/0.6628, allocations: 60.29 MB / 0.5983 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.6649, allocations: 1.467 MB / 0.5997 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001385/0.6664, allocations: 0.5911 MB / 0.6003 GB, free: 4.609 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/0.6664, allocations: 0 / 0.6003 GB, free: 4.609 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.168/4.834, allocations: 89.97 MB / 0.6882 GB, free: 147.3 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat