Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.002324/0.002328, allocations: 182.2 kB / 16.4 MB, free: 5.754 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.187/2.187, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001188/0.001188, allocations: 100.9 kB / 270.9 MB, free: 8.363 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.5601/0.5601, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006993/0.0006996, allocations: 20 kB / 431.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1492, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002683/0.1519, allocations: 1.442 MB / 491.8 MB, free: 9.652 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.1541, allocations: 0.8938 MB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.1542, allocations: 0 / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1546, allocations: 51.73 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1548, allocations: 51.83 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.1553, allocations: 99.67 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1556, allocations: 147.7 kB / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.1557, allocations: 29.66 kB / 493 MB, free: 8.379 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1558, allocations: 71.64 kB / 493.1 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.156, allocations: 83.67 kB / 493.2 MB, free: 8.227 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.1561, allocations: 4 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.1567, allocations: 203.7 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1568, allocations: 51.81 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.1569, allocations: 61.58 kB / 493.5 MB, free: 7.906 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1574, allocations: 183.9 kB / 493.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1574, allocations: 0 / 493.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1574, allocations: 0 / 493.7 MB, free: 7.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1574, allocations: 0 / 493.7 MB, free: 7.727 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001021/0.1584, allocations: 0.5106 MB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1585, allocations: 12.03 kB / 494.2 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/0.1586, allocations: 62.52 kB / 494.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.1599, allocations: 135.4 kB / 494.4 MB, free: 6.949 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.1605, allocations: 254.6 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.1605, allocations: 16.42 kB / 494.7 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.1606, allocations: 23.98 kB / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1617, allocations: 437.8 kB / 495.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.1618, allocations: 0 / 495.1 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.1618, allocations: 4 kB / 495.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.64e-05/0.1619, allocations: 32.53 kB / 495.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.1632, allocations: 405.8 kB / 495.5 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.1664, allocations: 1.469 MB / 497 MB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.1669, allocations: 106.4 kB / 497.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.167, allocations: 0 / 497.1 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.167, allocations: 34.56 kB / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.167, allocations: 0 / 497.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001009/0.168, allocations: 205.4 kB / 497.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1681, allocations: 59.34 kB / 497.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.1687, allocations: 334.5 kB / 497.7 MB, free: 3.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1688, allocations: 25.7 kB / 497.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.169, allocations: 233.5 kB / 498 MB, free: 3.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.169, allocations: 27.64 kB / 498 MB, free: 3.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.169, allocations: 4 kB / 498 MB, free: 3.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1692, allocations: 314.8 kB / 498.3 MB, free: 2.777 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.1696, allocations: 75.94 kB / 498.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.17, allocations: 121.9 kB / 498.5 MB, free: 2.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.1703, allocations: 95.88 kB / 498.6 MB, free: 2.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1704, allocations: 0 / 498.6 MB, free: 2.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000898/0.1713, allocations: 241.3 kB / 498.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.1713, allocations: 7.953 kB / 498.9 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1713, allocations: 4 kB / 498.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.1714, allocations: 4 kB / 498.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002743/0.1741, allocations: 124 kB / 499 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00301/0.1772, allocations: 1.848 MB / 0.4891 GB, free: 176 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.1777, allocations: 35.67 kB / 0.4891 GB, free: 140 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.1778, allocations: 8 kB / 0.4891 GB, free: 132 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 initialization (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3242/0.502, allocations: 153.5 kB / 0.4893 GB, free: 43.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/0.5021, allocations: 26.56 kB / 0.4893 GB, free: 43.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009418/0.5031, allocations: 204 kB / 0.4895 GB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.5031, allocations: 0.6562 kB / 0.4895 GB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5031, allocations: 0.5938 kB / 0.4895 GB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5031, allocations: 0.5156 kB / 0.4895 GB, free: 43.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004655/0.5036, allocations: 275.4 kB / 0.4898 GB, free: 43.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5036, allocations: 2.25 kB / 0.4898 GB, free: 43.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/0.5059, allocations: 104.4 kB / 0.4899 GB, free: 43.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.5059, allocations: 2.188 kB / 0.4899 GB, free: 43.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.5059, allocations: 1.156 kB / 0.4899 GB, free: 43.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/0.5073, allocations: 1.79 MB / 0.4916 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5074, allocations: 0.75 kB / 0.4916 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007415/0.5081, allocations: 273.1 kB / 0.4919 GB, free: 41.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.847e-05/0.5082, allocations: 100.2 kB / 0.492 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.328e-05/0.5083, allocations: 1.828 kB / 0.492 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.5087, allocations: 11.94 kB / 0.492 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.024e-05/0.5088, allocations: 14.22 kB / 0.492 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5089, allocations: 4.719 kB / 0.492 GB, free: 41.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004138/0.5093, allocations: 239.7 kB / 0.4922 GB, free: 41.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5093, allocations: 0.8438 kB / 0.4922 GB, free: 41.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005264/0.5098, allocations: 69.56 kB / 0.4923 GB, free: 41.01 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001094/0.5109, allocations: 0.8171 MB / 0.4931 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004177/0.5152, allocations: 267.5 kB / 0.4934 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.5152, allocations: 0 / 0.4934 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.5171, allocations: 124.5 kB / 0.4935 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.5176, allocations: 42.69 kB / 0.4935 GB, free: 40.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.5221, allocations: 2.544 MB / 0.496 GB, free: 38.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.5225, allocations: 0.787 MB / 0.4968 GB, free: 38.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.5228, allocations: 70.16 kB / 0.4968 GB, free: 38.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5228, allocations: 7.062 kB / 0.4968 GB, free: 38.13 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.769/3.292, allocations: 7.497 MB / 0.5042 GB, free: 37.8 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat