Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.000891/0.000891, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000996/0.0009963, allocations: 168.7 kB / 15.95 MB, free: 204 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.9/1.9, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4007/0.4007, allocations: 40 MB / 310.4 MB, free: 9.973 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.2. 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.0005242/0.0005242, allocations: 15.98 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1521, allocations: 57.95 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001755/0.1539, allocations: 1.159 MB / 438 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1559, allocations: 1.33 MB / 439.3 MB, free: 52 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.818e-05/0.156, allocations: 4 kB / 439.3 MB, free: 48 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.1562, allocations: 27.83 kB / 439.3 MB, free: 20 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.1564, allocations: 35.81 kB / 439.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1569, allocations: 163.5 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.157, allocations: 51.73 kB / 439.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.1571, allocations: 11.97 kB / 439.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.1572, allocations: 23.88 kB / 439.6 MB, free: 15.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.1572, allocations: 23.86 kB / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1573, allocations: 0 / 439.6 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005573/0.1578, allocations: 315.6 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.1579, allocations: 7.938 kB / 439.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.1579, allocations: 33.7 kB / 440 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.1583, allocations: 195.7 kB / 440.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1583, allocations: 0 / 440.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1583, allocations: 4 kB / 440.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1583, allocations: 0 / 440.2 MB, free: 15.16 MB / 382.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.0006917/0.159, allocations: 399.1 kB / 440.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1591, allocations: 8.031 kB / 440.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.1591, allocations: 15.84 kB / 440.6 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.1593, allocations: 174.8 kB / 440.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.1594, allocations: 3.984 kB / 440.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.1594, allocations: 8 kB / 440.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1596, allocations: 69.66 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1596, allocations: 0 / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1596, allocations: 8 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.1596, allocations: 3.953 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/0.1597, allocations: 59.89 kB / 440.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.16, allocations: 185.5 kB / 441.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.1601, allocations: 62.55 kB / 441.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.183e-05/0.1602, allocations: 40.84 kB / 441.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.505e-05/0.1602, allocations: 20 kB / 441.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.1603, allocations: 30.56 kB / 441.2 MB, free: 13.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1603, allocations: 3.938 kB / 441.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.01725/0.1776, allocations: 1.697 MB / 442.9 MB, free: 12.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1776, allocations: 55.41 kB / 443 MB, free: 12.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.1778, allocations: 130 kB / 443.1 MB, free: 12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1778, allocations: 29.7 kB / 443.1 MB, free: 11.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.1779, allocations: 88.12 kB / 443.2 MB, free: 11.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.1779, allocations: 35.45 kB / 443.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.1779, allocations: 0 / 443.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1781, allocations: 318.8 kB / 443.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006307/0.1787, allocations: 220 kB / 443.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.1793, allocations: 208.2 kB / 444 MB, free: 11.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.18, allocations: 192.7 kB / 444.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.18, allocations: 0 / 444.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001373/0.1814, allocations: 483.3 kB / 444.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.1814, allocations: 8 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1814, allocations: 0 / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1815, allocations: 3.953 kB / 444.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.182, allocations: 83.83 kB / 444.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.182, allocations: 0 / 444.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004178/0.1825, allocations: 47.95 kB / 444.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.1825, allocations: 11.97 kB / 444.8 MB, free: 10.29 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.0001191/0.1826, allocations: 113.8 kB / 444.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.1827, allocations: 15.75 kB / 444.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.1841, allocations: 402 kB / 445.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1841, allocations: 0 / 445.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.1842, allocations: 3.953 kB / 445.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1842, allocations: 0 / 445.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.187, allocations: 0.813 MB / 446.1 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1871, allocations: 4.031 kB / 446.1 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.1876, allocations: 83.84 kB / 446.2 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1876, allocations: 4 kB / 446.2 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.1876, allocations: 15.97 kB / 446.2 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.1876, allocations: 3.938 kB / 446.2 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1876, allocations: 4 kB / 446.3 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.1889, allocations: 454 kB / 446.7 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.189, allocations: 109 kB / 446.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.1891, allocations: 7.953 kB / 446.8 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.1895, allocations: 43.95 kB / 446.9 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.1896, allocations: 11.94 kB / 446.9 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.868e-05/0.1896, allocations: 15.97 kB / 446.9 MB, free: 8.086 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.996e-05/0.1897, allocations: 103.2 kB / 447 MB, free: 7.984 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1897, allocations: 0 / 447 MB, free: 7.984 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006976/0.1904, allocations: 167.9 kB / 447.1 MB, free: 7.82 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.0007047/0.1911, allocations: 251.1 kB / 447.4 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.1925, allocations: 411.6 kB / 447.8 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1925, allocations: 0 / 447.8 MB, free: 7.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.1931, allocations: 160 kB / 447.9 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1934, allocations: 16 kB / 448 MB, free: 6.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.1959, allocations: 0.5714 MB / 448.5 MB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.1962, allocations: 0.6965 MB / 449.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002396/0.1965, allocations: 44.83 kB / 449.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1966, allocations: 55.28 kB / 449.3 MB, free: 5.559 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1966, allocations: 0 / 449.3 MB, free: 5.559 MB / 382.1 MB Notification: Performance of Templates: time 0.2789/0.4755, allocations: 8.327 MB / 457.7 MB, free: 48.55 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.pipe 2>&1) Environment - environmentSimulation: