Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.001518/0.001518, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008596/0.0008593, allocations: 82.14 kB / 261.7 MB, free: 1.691 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.2098/0.2098, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.38e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4228/0.5384, allocations: 86.4 MB / 0.5504 GB, free: 8.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5387, allocations: 79.36 kB / 0.5505 GB, free: 8.246 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01338/0.5521, allocations: 5.274 MB / 0.5556 GB, free: 4.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5522, allocations: 3.938 kB / 0.5556 GB, free: 4.242 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.5522, allocations: 0 / 0.5556 GB, free: 4.242 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003586/0.5526, allocations: 405.9 kB / 0.556 GB, free: 3.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.5526, allocations: 8.031 kB / 0.556 GB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.5527, allocations: 7.953 kB / 0.556 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.5528, allocations: 180.6 kB / 0.5562 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.5528, allocations: 4 kB / 0.5562 GB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.5528, allocations: 0 / 0.5562 GB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/0.553, allocations: 57.42 kB / 0.5563 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.908e-05/0.5531, allocations: 67.8 kB / 0.5563 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5531, allocations: 0 / 0.5563 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.5531, allocations: 0 / 0.5563 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.5531, allocations: 0 / 0.5563 GB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.5533, allocations: 179.3 kB / 0.5565 GB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.749e-05/0.5534, allocations: 56.5 kB / 0.5566 GB, free: 3.227 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.5534, allocations: 37.36 kB / 0.5566 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.5535, allocations: 19.48 kB / 0.5566 GB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.5535, allocations: 30.56 kB / 0.5566 GB, free: 3.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.5535, allocations: 0 / 0.5566 GB, free: 3.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.02125/0.5748, allocations: 1.846 MB / 0.5584 GB, free: 1.402 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.5748, allocations: 55.34 kB / 0.5585 GB, free: 1.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.5749, allocations: 119.2 kB / 0.5586 GB, free: 1.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.575, allocations: 25.7 kB / 0.5586 GB, free: 1.188 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.575, allocations: 86.88 kB / 0.5587 GB, free: 1.102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.575, allocations: 38.89 kB / 0.5588 GB, free: 1.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.5751, allocations: 8 kB / 0.5588 GB, free: 1.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.5751, allocations: 322.5 kB / 0.5591 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.5753, allocations: 76.05 kB / 0.5591 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.5754, allocations: 81.23 kB / 0.5592 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.5767, allocations: 239.3 kB / 0.5594 GB, free: 464 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5767, allocations: 0 / 0.5594 GB, free: 464 kB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001462/0.5782, allocations: 378 kB / 0.5598 GB, free: 148 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5782, allocations: 4 kB / 0.5598 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.5783, allocations: 0 / 0.5598 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.5783, allocations: 0 / 0.5598 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.5788, allocations: 71.88 kB / 0.5599 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5788, allocations: 240 / 0.5599 GB, free: 72 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.5792, allocations: 39.95 kB / 0.5599 GB, free: 32 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.5793, allocations: 15.8 kB / 0.5599 GB, free: 20 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.5794, allocations: 112.9 kB / 0.56 GB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001569/0.581, allocations: 371.5 kB / 0.5604 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.581, allocations: 11.81 kB / 0.5604 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.5828, allocations: 425.9 kB / 0.5608 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.5828, allocations: 4 kB / 0.5608 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5828, allocations: 0 / 0.5608 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5828, allocations: 3.953 kB / 0.5608 GB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.5861, allocations: 0.8643 MB / 0.5617 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5861, allocations: 4 kB / 0.5617 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.5866, allocations: 64.03 kB / 0.5617 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.5866, allocations: 4 kB / 0.5617 GB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.5866, allocations: 11.94 kB / 0.5617 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5867, allocations: 0 / 0.5617 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.5867, allocations: 4 kB / 0.5617 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.5883, allocations: 0.5157 MB / 0.5623 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.5884, allocations: 115.6 kB / 0.5624 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.5885, allocations: 0 / 0.5624 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004234/0.5889, allocations: 35.97 kB / 0.5624 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.956e-05/0.5889, allocations: 11.98 kB / 0.5624 GB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.589, allocations: 7.984 kB / 0.5624 GB, free: 13.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.589, allocations: 94.03 kB / 0.5625 GB, free: 13.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5891, allocations: 0 / 0.5625 GB, free: 13.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006049/0.5897, allocations: 175.2 kB / 0.5627 GB, free: 13.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002424/0.5921, allocations: 1.408 MB / 0.564 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.5924, allocations: 172 kB / 0.5642 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5924, allocations: 0 / 0.5642 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.5926, allocations: 91.48 kB / 0.5643 GB, free: 11.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.5929, allocations: 24.06 kB / 0.5643 GB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.5951, allocations: 466.5 kB / 0.5648 GB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.5954, allocations: 0.7002 MB / 0.5655 GB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002393/0.5956, allocations: 44.62 kB / 0.5655 GB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001613/0.5958, allocations: 32.03 kB / 0.5655 GB, free: 10.61 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5958, allocations: 4 kB / 0.5655 GB, free: 10.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02975/0.6255, allocations: 6.213 MB / 0.5716 GB, free: 4.398 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/0.6258, allocations: 166.9 kB / 0.5718 GB, free: 4.211 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.329, allocations: 0 / 0.5718 GB, free: 4.211 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat