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.001256/0.001256, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 195.6 kB / 16.53 MB, free: 6.672 MB / 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.1 MB / 222.4 MB, free: 4.613 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.3738/0.3738, allocations: 39.94 MB / 309.7 MB, free: 9.289 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.002593/0.002593, allocations: 66.41 kB / 377.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1316, allocations: 56.88 MB / 434.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003707/0.1354, allocations: 1.451 MB / 435.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002807/0.1382, allocations: 1.458 MB / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.716e-05/0.1383, allocations: 0 / 437.4 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1386, allocations: 39.78 kB / 437.4 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1389, allocations: 43.98 kB / 437.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.1396, allocations: 219 kB / 437.7 MB, free: 440 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.1397, allocations: 55.78 kB / 437.8 MB, free: 384 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.1398, allocations: 11.98 kB / 437.8 MB, free: 372 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.1398, allocations: 31.84 kB / 437.8 MB, free: 340 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.1399, allocations: 23.86 kB / 437.8 MB, free: 316 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.14, allocations: 4 kB / 437.8 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.1407, allocations: 331.6 kB / 438.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.1407, allocations: 3.906 kB / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.1408, allocations: 31.8 kB / 438.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005809/0.1414, allocations: 275.4 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1414, allocations: 0 / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1414, allocations: 4 kB / 438.5 MB, free: 15.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1414, allocations: 0 / 438.5 MB, free: 15.67 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.0007067/0.1421, allocations: 426.4 kB / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.591e-05/0.1422, allocations: 15.89 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.1422, allocations: 4.844 kB / 438.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1424, allocations: 172.2 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.1425, allocations: 8.375 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1425, allocations: 4.375 kB / 439.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.1427, allocations: 65.8 kB / 439.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1427, allocations: 4 kB / 439.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1427, allocations: 3.984 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1428, allocations: 4 kB / 439.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.1429, allocations: 59.91 kB / 439.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.1431, allocations: 193.5 kB / 439.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.1433, allocations: 54.56 kB / 439.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.1434, allocations: 44.84 kB / 439.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.089e-05/0.1435, allocations: 27.92 kB / 439.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1435, allocations: 34.5 kB / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1435, allocations: 0 / 439.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02411/0.1676, allocations: 1.619 MB / 441.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.1678, allocations: 55.39 kB / 441.2 MB, free: 12.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.1681, allocations: 134 kB / 441.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.1681, allocations: 29.7 kB / 441.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.54e-05/0.1682, allocations: 88.05 kB / 441.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.1683, allocations: 39.44 kB / 441.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.1685, allocations: 49.62 kB / 441.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.1688, allocations: 326.8 kB / 441.9 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/0.1697, allocations: 195.9 kB / 442.1 MB, free: 11.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.1706, allocations: 211.8 kB / 442.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/0.1723, allocations: 372.7 kB / 442.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1723, allocations: 0 / 442.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00187/0.1742, allocations: 457.4 kB / 443.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.1743, allocations: 4 kB / 443.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.1743, allocations: 0 / 443.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.1743, allocations: 4 kB / 443.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000714/0.1751, allocations: 67.94 kB / 443.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1751, allocations: 0 / 443.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/0.1756, allocations: 35.95 kB / 443.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.1757, allocations: 11.98 kB / 443.2 MB, free: 10.67 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.zetaLaminarKnown,data.zeta2_at_a,data.zeta1_at_a) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.1759, allocations: 121.8 kB / 443.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.1759, allocations: 7.906 kB / 443.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.1778, allocations: 366 kB / 443.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1778, allocations: 0 / 443.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.1778, allocations: 4 kB / 443.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1778, allocations: 0 / 443.7 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.1816, allocations: 0.7777 MB / 444.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1816, allocations: 3.984 kB / 444.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/0.1822, allocations: 67.88 kB / 444.5 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.1822, allocations: 4 kB / 444.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.1823, allocations: 8.094 kB / 444.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1823, allocations: 3.984 kB / 444.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.1823, allocations: 4.031 kB / 444.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.184, allocations: 421.7 kB / 445 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.1841, allocations: 105 kB / 445.1 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.1842, allocations: 11.94 kB / 445.1 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.1848, allocations: 39.95 kB / 445.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.1848, allocations: 11.94 kB / 445.1 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.1849, allocations: 7.984 kB / 445.1 MB, free: 8.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.435e-05/0.185, allocations: 107.1 kB / 445.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.185, allocations: 0 / 445.3 MB, free: 8.504 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008645/0.1859, allocations: 175.9 kB / 445.4 MB, free: 8.332 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008729/0.1868, allocations: 247 kB / 445.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.1886, allocations: 379.7 kB / 446 MB, free: 7.707 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1886, allocations: 8 kB / 446 MB, free: 7.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007984/0.1894, allocations: 148 kB / 446.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.19, allocations: 20.06 kB / 446.2 MB, free: 7.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003525/0.1935, allocations: 0.4951 MB / 446.7 MB, free: 7.004 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1939, allocations: 0.7002 MB / 447.4 MB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003143/0.1943, allocations: 44.75 kB / 447.4 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.1945, allocations: 35.34 kB / 447.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.1945, allocations: 0 / 447.5 MB, free: 6.195 MB / 382.1 MB Notification: Performance of Templates: time 0.2442/0.4387, allocations: 8.526 MB / 456 MB, free: 51.76 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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)