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.001335/0.001336, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01187/0.01187, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.768/1.768, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.4162/0.4162, allocations: 40 MB / 310.7 MB, free: 9.77 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.0005681/0.0005682, allocations: 15.98 kB / 379.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 57.96 MB / 437.4 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001862/0.1485, allocations: 1.174 MB / 438.6 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.1509, allocations: 1.454 MB / 440 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.151, allocations: 0 / 440 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001895/0.1512, allocations: 27.91 kB / 440.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1515, allocations: 48.03 kB / 440.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005274/0.152, allocations: 171.3 kB / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1521, allocations: 47.8 kB / 440.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.1522, allocations: 11.98 kB / 440.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.611e-05/0.1522, allocations: 31.8 kB / 440.4 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.1523, allocations: 23.86 kB / 440.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.1523, allocations: 0 / 440.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005426/0.1529, allocations: 335.5 kB / 440.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.1529, allocations: 7.984 kB / 440.7 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.153, allocations: 53.52 kB / 440.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.1534, allocations: 275.4 kB / 441.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1534, allocations: 0 / 441.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1534, allocations: 0 / 441.1 MB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.1535, allocations: 0 / 441.1 MB, free: 14.57 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.0005352/0.154, allocations: 415.1 kB / 441.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.154, allocations: 8.031 kB / 441.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.1541, allocations: 8.844 kB / 441.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1542, allocations: 176.3 kB / 441.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1543, allocations: 4.375 kB / 441.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.1543, allocations: 4.375 kB / 441.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1544, allocations: 73.73 kB / 441.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1545, allocations: 0 / 441.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.1545, allocations: 4 kB / 441.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1545, allocations: 0 / 441.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.964e-05/0.1546, allocations: 59.97 kB / 441.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.1548, allocations: 181.6 kB / 442 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.598e-05/0.1549, allocations: 58.55 kB / 442 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.155, allocations: 40.84 kB / 442.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.69e-05/0.1551, allocations: 19.94 kB / 442.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1551, allocations: 38.5 kB / 442.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1551, allocations: 0 / 442.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.02323/0.1783, allocations: 1.701 MB / 443.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.1785, allocations: 55.41 kB / 443.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.1787, allocations: 133.9 kB / 444 MB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.1787, allocations: 25.7 kB / 444 MB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.1788, allocations: 96.12 kB / 444.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.265e-05/0.1789, allocations: 43.3 kB / 444.2 MB, free: 11.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.179, allocations: 21.72 kB / 444.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1791, allocations: 318.8 kB / 444.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000769/0.1799, allocations: 211.9 kB / 444.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.1807, allocations: 215.8 kB / 444.9 MB, free: 10.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.1823, allocations: 404.6 kB / 445.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1823, allocations: 0 / 445.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00172/0.184, allocations: 481.4 kB / 445.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1841, allocations: 4 kB / 445.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1841, allocations: 3.984 kB / 445.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.1841, allocations: 4 kB / 445.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006534/0.1848, allocations: 79.89 kB / 445.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1848, allocations: 0 / 445.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005648/0.1854, allocations: 43.95 kB / 445.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.1854, allocations: 11.97 kB / 445.9 MB, free: 9.445 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.0001424/0.1856, allocations: 129.9 kB / 446.1 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.1856, allocations: 7.906 kB / 446.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.1873, allocations: 397.9 kB / 446.5 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.1874, allocations: 4 kB / 446.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1874, allocations: 0 / 446.5 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1874, allocations: 3.984 kB / 446.5 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.1909, allocations: 0.8129 MB / 447.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.191, allocations: 3.938 kB / 447.3 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.1916, allocations: 83.98 kB / 447.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1916, allocations: 0 / 447.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.1916, allocations: 19.95 kB / 447.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1917, allocations: 0 / 447.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1917, allocations: 7.938 kB / 447.4 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.1933, allocations: 453.7 kB / 447.8 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1934, allocations: 116.9 kB / 447.9 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.1935, allocations: 0 / 447.9 MB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.194, allocations: 39.97 kB / 448 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.1941, allocations: 15.92 kB / 448 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.1941, allocations: 19.97 kB / 448 MB, free: 7.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.1943, allocations: 99.27 kB / 448.1 MB, free: 7.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1943, allocations: 0 / 448.1 MB, free: 7.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007163/0.195, allocations: 175.9 kB / 448.3 MB, free: 6.961 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.0008164/0.1958, allocations: 250.9 kB / 448.5 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.1974, allocations: 399.7 kB / 448.9 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1974, allocations: 0 / 448.9 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007462/0.1982, allocations: 172 kB / 449.1 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1986, allocations: 11.94 kB / 449.1 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.2017, allocations: 0.5832 MB / 449.7 MB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.202, allocations: 0.7004 MB / 450.4 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.2023, allocations: 40.66 kB / 450.4 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.2024, allocations: 51.34 kB / 450.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2025, allocations: 0 / 450.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of Templates: time 0.2209/0.4233, allocations: 8.439 MB / 458.9 MB, free: 48.67 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: