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.001429/0.001429, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001935/0.001934, allocations: 193.8 kB / 16.14 MB, free: 6.703 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.689/1.689, allocations: 205.1 MB / 222 MB, free: 4.977 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.4234/0.4234, allocations: 39.94 MB / 309.3 MB, free: 9.559 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.001363/0.001363, allocations: 62.58 kB / 376.9 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1495, allocations: 56.88 MB / 433.8 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003016/0.1526, allocations: 1.517 MB / 435.3 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1548, allocations: 1.488 MB / 436.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.235e-05/0.1549, allocations: 0 / 436.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1551, allocations: 39.81 kB / 436.9 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.1554, allocations: 40.06 kB / 436.9 MB, free: 1.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1558, allocations: 163.4 kB / 437.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1559, allocations: 55.72 kB / 437.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.433e-05/0.156, allocations: 7.984 kB / 437.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.918e-05/0.1561, allocations: 27.86 kB / 437.1 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.1562, allocations: 27.86 kB / 437.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1562, allocations: 0 / 437.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005098/0.1567, allocations: 335.5 kB / 437.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.79e-05/0.1567, allocations: 11.94 kB / 437.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1568, allocations: 23.86 kB / 437.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004148/0.1572, allocations: 279.4 kB / 437.8 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1572, allocations: 0 / 437.8 MB, free: 464 kB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1572, allocations: 0 / 437.8 MB, free: 464 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1572, allocations: 0 / 437.8 MB, free: 464 kB / 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.0006004/0.1578, allocations: 423.2 kB / 438.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1579, allocations: 12.03 kB / 438.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.1579, allocations: 8.828 kB / 438.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1581, allocations: 176.1 kB / 438.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1581, allocations: 4.375 kB / 438.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1581, allocations: 4.375 kB / 438.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1583, allocations: 69.8 kB / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1583, allocations: 0 / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1583, allocations: 0 / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1583, allocations: 0 / 438.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.87e-05/0.1584, allocations: 63.91 kB / 438.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.1586, allocations: 193.5 kB / 438.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.088e-05/0.1587, allocations: 54.56 kB / 438.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.881e-05/0.1588, allocations: 40.84 kB / 438.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.1588, allocations: 15.98 kB / 438.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1589, allocations: 42.5 kB / 438.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.1589, allocations: 4 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.01962/0.1785, allocations: 1.623 MB / 440.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.1786, allocations: 63.33 kB / 440.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1788, allocations: 133.9 kB / 440.7 MB, free: 13.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.1789, allocations: 25.7 kB / 440.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.1789, allocations: 92.05 kB / 440.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.108e-05/0.179, allocations: 39.39 kB / 440.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.1791, allocations: 41.69 kB / 440.9 MB, free: 13.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1793, allocations: 322.8 kB / 441.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.1799, allocations: 199.9 kB / 441.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.1805, allocations: 207.8 kB / 441.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.1818, allocations: 376.7 kB / 442 MB, free: 12.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1818, allocations: 0 / 442 MB, free: 12.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001483/0.1833, allocations: 457.4 kB / 442.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.1834, allocations: 4 kB / 442.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.1834, allocations: 7.938 kB / 442.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.1834, allocations: 0 / 442.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.184, allocations: 59.94 kB / 442.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.184, allocations: 4 kB / 442.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.1845, allocations: 43.95 kB / 442.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.1845, allocations: 7.984 kB / 442.6 MB, free: 11.46 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.0001934/0.1847, allocations: 121.8 kB / 442.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.1848, allocations: 7.906 kB / 442.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.1863, allocations: 366 kB / 443 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1863, allocations: 0 / 443 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.1864, allocations: 0 / 443 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1864, allocations: 4 kB / 443 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.1897, allocations: 0.7816 MB / 443.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1897, allocations: 0 / 443.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/0.1902, allocations: 68.02 kB / 443.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.1902, allocations: 4 kB / 443.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.1902, allocations: 8 kB / 443.9 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.1902, allocations: 7.922 kB / 443.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.1903, allocations: 3.938 kB / 443.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.1917, allocations: 417.8 kB / 444.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.1919, allocations: 109 kB / 444.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1919, allocations: 0 / 444.4 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.1924, allocations: 47.95 kB / 444.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1924, allocations: 11.88 kB / 444.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.1924, allocations: 7.984 kB / 444.5 MB, free: 9.391 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1925, allocations: 99.27 kB / 444.6 MB, free: 9.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1926, allocations: 4 kB / 444.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008267/0.1934, allocations: 171.9 kB / 444.8 MB, free: 9.121 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.0008167/0.1942, allocations: 243 kB / 445 MB, free: 8.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.1957, allocations: 379.7 kB / 445.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1957, allocations: 3.938 kB / 445.4 MB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005995/0.1963, allocations: 144 kB / 445.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.1969, allocations: 20 kB / 445.5 MB, free: 8.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.1995, allocations: 0.5243 MB / 446.1 MB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.2, allocations: 0.6968 MB / 446.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002485/0.2003, allocations: 52.56 kB / 446.8 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.2004, allocations: 27.36 kB / 446.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2004, allocations: 0 / 446.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of Templates: time 0.2682/0.4687, allocations: 8.332 MB / 455.2 MB, free: 51.96 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)