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.0007506/0.0007506, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005318/0.005318, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.322/1.322, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.308/0.308, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.0005543/0.0005544, allocations: 12.52 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 57.52 MB / 434.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001505/0.1106, allocations: 1.182 MB / 435.8 MB, free: 4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1124, allocations: 1.458 MB / 437.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.1125, allocations: 0 / 437.2 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.1126, allocations: 31.83 kB / 437.2 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1128, allocations: 40.05 kB / 437.3 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.1132, allocations: 179.4 kB / 437.5 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.1133, allocations: 51.73 kB / 437.5 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1133, allocations: 11.84 kB / 437.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.248e-05/0.1134, allocations: 23.92 kB / 437.5 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.1135, allocations: 27.86 kB / 437.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.1135, allocations: 4 kB / 437.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.114, allocations: 335.5 kB / 437.9 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.114, allocations: 3.938 kB / 437.9 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.932e-05/0.1141, allocations: 57.5 kB / 438 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.1145, allocations: 275.4 kB / 438.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1145, allocations: 0 / 438.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1145, allocations: 0 / 438.2 MB, free: 1.504 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1145, allocations: 0 / 438.2 MB, free: 1.504 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.0004877/0.115, allocations: 415.2 kB / 438.6 MB, free: 1.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.115, allocations: 8.031 kB / 438.6 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.1151, allocations: 8.844 kB / 438.6 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1153, allocations: 176.3 kB / 438.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1153, allocations: 384 / 438.8 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1153, allocations: 4.375 kB / 438.8 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1155, allocations: 65.8 kB / 438.9 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1155, allocations: 7.875 kB / 438.9 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1155, allocations: 8 kB / 438.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1155, allocations: 0 / 438.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.1156, allocations: 55.97 kB / 439 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1158, allocations: 185.5 kB / 439.1 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.1159, allocations: 58.56 kB / 439.2 MB, free: 392 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.1159, allocations: 44.83 kB / 439.2 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.116, allocations: 16 kB / 439.3 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.116, allocations: 34.5 kB / 439.3 MB, free: 284 kB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.116, allocations: 4 kB / 439.3 MB, free: 280 kB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.02149/0.1375, allocations: 1.697 MB / 441 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1376, allocations: 51.41 kB / 441 MB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1377, allocations: 137.8 kB / 441.2 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.1378, allocations: 29.7 kB / 441.2 MB, free: 14.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.1378, allocations: 92.12 kB / 441.3 MB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.1379, allocations: 35.41 kB / 441.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.138, allocations: 21.7 kB / 441.4 MB, free: 14.15 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1381, allocations: 322.8 kB / 441.7 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.1388, allocations: 215.8 kB / 441.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/0.1395, allocations: 219.8 kB / 442.1 MB, free: 13.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001416/0.1409, allocations: 396.6 kB / 442.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1409, allocations: 4 kB / 442.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001542/0.1425, allocations: 489.2 kB / 443 MB, free: 12.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1425, allocations: 4 kB / 443 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1425, allocations: 0 / 443 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1425, allocations: 0 / 443 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.1431, allocations: 79.89 kB / 443 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1432, allocations: 0 / 443 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004973/0.1437, allocations: 43.95 kB / 443.1 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.1437, allocations: 15.97 kB / 443.1 MB, free: 12.38 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.0001215/0.1438, allocations: 121.7 kB / 443.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.1439, allocations: 7.906 kB / 443.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.1455, allocations: 390 kB / 443.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1455, allocations: 4 kB / 443.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1455, allocations: 4 kB / 443.6 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1455, allocations: 3.984 kB / 443.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.1487, allocations: 0.8244 MB / 444.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1488, allocations: 0 / 444.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.1493, allocations: 87.92 kB / 444.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1493, allocations: 0 / 444.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.1494, allocations: 15.97 kB / 444.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1494, allocations: 0 / 444.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1494, allocations: 3.938 kB / 444.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.1509, allocations: 453.7 kB / 445 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.175e-05/0.151, allocations: 113 kB / 445.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.151, allocations: 0 / 445.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.1516, allocations: 43.97 kB / 445.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.117e-05/0.1516, allocations: 11.92 kB / 445.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.1516, allocations: 15.97 kB / 445.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.1517, allocations: 99.27 kB / 445.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1517, allocations: 7.938 kB / 445.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.1523, allocations: 167.9 kB / 445.4 MB, free: 9.918 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.0006256/0.1529, allocations: 247 kB / 445.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.1544, allocations: 403.7 kB / 446.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1544, allocations: 0 / 446.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006551/0.1551, allocations: 163.9 kB / 446.2 MB, free: 9.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.1554, allocations: 20.11 kB / 446.3 MB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.1584, allocations: 0.5832 MB / 446.8 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1587, allocations: 0.6968 MB / 447.5 MB, free: 7.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.1589, allocations: 52.56 kB / 447.6 MB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.1591, allocations: 43.34 kB / 447.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of SimCode: time 1.954e-06/0.1591, allocations: 0 / 447.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of Templates: time 0.1946/0.3537, allocations: 8.454 MB / 456.1 MB, free: 50.51 MB / 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: