Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 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: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 100 kB / 15.05 MB, free: 1.105 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.001918/0.001919, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.632/1.632, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4081/0.4081, allocations: 38.03 MB / 308.4 MB, free: 10.54 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000659/0.0006591, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1638, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001771/0.1656, allocations: 1.139 MB / 435.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1677, allocations: 1.287 MB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.167e-05/0.1677, allocations: 4 kB / 436.4 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.1679, allocations: 27.83 kB / 436.4 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.1681, allocations: 39.92 kB / 436.4 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1685, allocations: 171.5 kB / 436.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1686, allocations: 39.88 kB / 436.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.1686, allocations: 15.83 kB / 436.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.1687, allocations: 15.94 kB / 436.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.1689, allocations: 35.78 kB / 436.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1689, allocations: 4 kB / 436.7 MB, free: 2.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.1694, allocations: 315.6 kB / 437 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1695, allocations: 7.984 kB / 437 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.1695, allocations: 37.64 kB / 437.1 MB, free: 2.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.17, allocations: 179.9 kB / 437.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.17, allocations: 0 / 437.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.17, allocations: 0 / 437.2 MB, free: 2.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.17, allocations: 0 / 437.2 MB, free: 2.258 MB / 366.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.0006023/0.1706, allocations: 407.1 kB / 437.6 MB, free: 1.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1707, allocations: 12.03 kB / 437.6 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.508e-05/0.1707, allocations: 11.86 kB / 437.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1709, allocations: 171 kB / 437.8 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1709, allocations: 4 kB / 437.8 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1709, allocations: 4 kB / 437.8 MB, free: 1.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1711, allocations: 69.61 kB / 437.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1711, allocations: 0 / 437.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1711, allocations: 0 / 437.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1711, allocations: 0 / 437.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.1712, allocations: 63.86 kB / 438 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001978/0.1714, allocations: 197.5 kB / 438.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.941e-05/0.1715, allocations: 50.64 kB / 438.2 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/0.1716, allocations: 24.12 kB / 438.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1716, allocations: 30.56 kB / 438.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.1716, allocations: 0 / 438.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.02065/0.1923, allocations: 1.693 MB / 439.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1924, allocations: 55.36 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1925, allocations: 130.5 kB / 440.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.1926, allocations: 25.7 kB / 440.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.1926, allocations: 92.03 kB / 440.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.1927, allocations: 43.45 kB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.018e-05/0.1927, allocations: 4 kB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1928, allocations: 318.8 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.1935, allocations: 208 kB / 440.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006739/0.1942, allocations: 216.2 kB / 441 MB, free: 14.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007155/0.195, allocations: 188.7 kB / 441.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.195, allocations: 0 / 441.2 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001587/0.1966, allocations: 491.2 kB / 441.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1966, allocations: 4 kB / 441.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1966, allocations: 0 / 441.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.1967, allocations: 4 kB / 441.7 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.1973, allocations: 83.89 kB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1973, allocations: 3.953 kB / 441.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004737/0.1978, allocations: 43.95 kB / 441.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.1978, allocations: 11.97 kB / 441.8 MB, free: 13.43 MB / 382.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.0001649/0.198, allocations: 118.9 kB / 441.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1981, allocations: 7.906 kB / 441.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.1997, allocations: 401.9 kB / 442.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.1997, allocations: 4 kB / 442.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1997, allocations: 3.984 kB / 442.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.1997, allocations: 3.953 kB / 442.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.203, allocations: 0.8207 MB / 443.2 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.203, allocations: 0 / 443.2 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/0.2035, allocations: 83.92 kB / 443.3 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.2036, allocations: 3.938 kB / 443.3 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.2036, allocations: 19.92 kB / 443.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.2036, allocations: 4 kB / 443.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2036, allocations: 0 / 443.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/0.2051, allocations: 478.9 kB / 443.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.2053, allocations: 113 kB / 443.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.2053, allocations: 4 kB / 443.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.2058, allocations: 47.89 kB / 443.9 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.2059, allocations: 8 kB / 443.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.2059, allocations: 11.97 kB / 443.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.252e-05/0.206, allocations: 103.3 kB / 444 MB, free: 11.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.206, allocations: 4 kB / 444 MB, free: 11.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008015/0.2068, allocations: 167.9 kB / 444.2 MB, free: 10.91 MB / 382.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.0006465/0.2074, allocations: 254.9 kB / 444.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.2089, allocations: 403.7 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.209, allocations: 4 kB / 444.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.2096, allocations: 164 kB / 445 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.2099, allocations: 12.14 kB / 445 MB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.2128, allocations: 0.5793 MB / 445.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.2132, allocations: 0.6965 MB / 446.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.2134, allocations: 48.62 kB / 446.3 MB, free: 8.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.2136, allocations: 43.34 kB / 446.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2136, allocations: 0 / 446.4 MB, free: 8.648 MB / 382.1 MB Notification: Performance of Templates: time 0.01323/0.2268, allocations: 8.337 MB / 454.7 MB, free: 296 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) Environment - environmentSimulation: