Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008132/0.0008134, allocations: 97.3 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008313/0.0008315, allocations: 179.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.2 MB / 241.9 MB, free: 264 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2043/0.2043, allocations: 44.23 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001564/0.1502, allocations: 1.152 MB / 472.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.152, allocations: 1.29 MB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.1521, allocations: 0 / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1523, allocations: 19.91 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1525, allocations: 43.75 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1528, allocations: 167.5 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.153, allocations: 51.72 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.153, allocations: 3.984 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.63e-05/0.1531, allocations: 23.94 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.1532, allocations: 27.86 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.1532, allocations: 0 / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.1537, allocations: 311.6 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1537, allocations: 11.94 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.1538, allocations: 33.64 kB / 474.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002941/0.1541, allocations: 187.9 kB / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1541, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1541, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1541, allocations: 0 / 475 MB, free: 10.29 MB / 350.1 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.0005315/0.1546, allocations: 407.1 kB / 475.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1547, allocations: 8.562 kB / 475.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.578e-05/0.1547, allocations: 38.55 kB / 475.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.1548, allocations: 3.906 kB / 475.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.1549, allocations: 167 kB / 475.6 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.155, allocations: 15.89 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.155, allocations: 4 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1551, allocations: 65.61 kB / 475.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1552, allocations: 7.984 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1552, allocations: 3.938 kB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1552, allocations: 0 / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.1553, allocations: 59.97 kB / 475.7 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.1555, allocations: 189.5 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.448e-05/0.1556, allocations: 62.52 kB / 476 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.397e-05/0.1557, allocations: 44.78 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.278e-05/0.1557, allocations: 19.98 kB / 476 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1558, allocations: 38.56 kB / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.1558, allocations: 0 / 476.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.01712/0.1729, allocations: 1.673 MB / 477.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.173, allocations: 55.41 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1731, allocations: 138 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.1732, allocations: 29.7 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.1732, allocations: 92.03 kB / 478.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.1733, allocations: 43.39 kB / 478.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.1733, allocations: 0 / 478.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1734, allocations: 322.8 kB / 478.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/0.1741, allocations: 212.1 kB / 478.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.1747, allocations: 212.2 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00065/0.1754, allocations: 192.6 kB / 479 MB, free: 5.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1754, allocations: 4 kB / 479 MB, free: 5.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001385/0.1768, allocations: 484.6 kB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1768, allocations: 4 kB / 479.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1768, allocations: 7.984 kB / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1768, allocations: 0 / 479.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.1774, allocations: 75.89 kB / 479.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1774, allocations: 4 kB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/0.1778, allocations: 35.97 kB / 479.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.1778, allocations: 19.97 kB / 479.6 MB, free: 5.367 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00011/0.1779, allocations: 121.7 kB / 479.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.178, allocations: 11.89 kB / 479.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.1794, allocations: 398.1 kB / 480.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1794, allocations: 7.938 kB / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1795, allocations: 0 / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1795, allocations: 0 / 480.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.1822, allocations: 0.8244 MB / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1823, allocations: 0 / 481 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.1828, allocations: 83.94 kB / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1828, allocations: 0 / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.1828, allocations: 15.97 kB / 481.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.1828, allocations: 3.984 kB / 481.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1828, allocations: 4 kB / 481.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.1842, allocations: 453.7 kB / 481.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.824e-05/0.1843, allocations: 105 kB / 481.6 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.1843, allocations: 4 kB / 481.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.1847, allocations: 47.95 kB / 481.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.318e-05/0.1848, allocations: 11.92 kB / 481.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.1848, allocations: 11.97 kB / 481.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.768e-05/0.1849, allocations: 109.9 kB / 481.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1849, allocations: 0 / 481.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006052/0.1855, allocations: 167.9 kB / 482 MB, free: 2.895 MB / 350.1 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 () * Number of clocked 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.002111/0.1876, allocations: 1.119 MB / 483.1 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.189, allocations: 407.6 kB / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.189, allocations: 0 / 483.5 MB, free: 1.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.1896, allocations: 168 kB / 483.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.19, allocations: 12 kB / 483.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.1951, allocations: 1.569 MB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.1953, allocations: 0.6965 MB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002455/0.1956, allocations: 48.94 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.1958, allocations: 59.34 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1958, allocations: 0 / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.2175, allocations: 9.542 MB / 495.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/0.2178, allocations: 213.1 kB / 495.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.233, allocations: 0 / 495.8 MB, free: 5.098 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat