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.0007564/0.0007564, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008509/0.0008509, allocations: 172.7 kB / 15.95 MB, free: 208 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.24/1.24, allocations: 205.4 MB / 222.1 MB, free: 5.742 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.2771/0.2771, allocations: 38.03 MB / 308.4 MB, free: 10.3 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.000503/0.0005031, allocations: 12 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.0973, allocations: 57.53 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001442/0.09879, allocations: 1.155 MB / 435.1 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1005, allocations: 1.322 MB / 436.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.1005, allocations: 0 / 436.4 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.1007, allocations: 31.81 kB / 436.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.1009, allocations: 27.84 kB / 436.5 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.1013, allocations: 175.4 kB / 436.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.652e-05/0.1014, allocations: 55.66 kB / 436.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.1e-05/0.1015, allocations: 15.78 kB / 436.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.124e-05/0.1016, allocations: 19.94 kB / 436.8 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.1016, allocations: 23.86 kB / 436.8 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1016, allocations: 4 kB / 436.8 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005143/0.1022, allocations: 311.5 kB / 437.1 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.1022, allocations: 8 kB / 437.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.1022, allocations: 37.64 kB / 437.1 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1025, allocations: 187.8 kB / 437.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1025, allocations: 0 / 437.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1025, allocations: 0 / 437.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1025, allocations: 0 / 437.3 MB, free: 2.172 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.0004605/0.103, allocations: 407.1 kB / 437.7 MB, free: 1.727 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1031, allocations: 16.03 kB / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.1031, allocations: 7.859 kB / 437.7 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1032, allocations: 167 kB / 437.9 MB, free: 1.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1032, allocations: 7.938 kB / 437.9 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1033, allocations: 4 kB / 437.9 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1034, allocations: 69.66 kB / 438 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1034, allocations: 0 / 438 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1034, allocations: 0 / 438 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1034, allocations: 0 / 438 MB, free: 1.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.404e-05/0.1035, allocations: 63.86 kB / 438.1 MB, free: 1.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.1037, allocations: 197.5 kB / 438.2 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.574e-05/0.1038, allocations: 54.5 kB / 438.3 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.165e-05/0.1039, allocations: 40.84 kB / 438.3 MB, free: 1.004 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.1039, allocations: 19.98 kB / 438.4 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.104, allocations: 34.56 kB / 438.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.104, allocations: 0 / 438.4 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.01704/0.121, allocations: 1.685 MB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.1211, allocations: 59.34 kB / 440.1 MB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.1212, allocations: 134 kB / 440.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.1213, allocations: 29.7 kB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.1213, allocations: 88.05 kB / 440.4 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.1214, allocations: 35.45 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.1214, allocations: 8 kB / 440.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1216, allocations: 318.8 kB / 440.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000627/0.1222, allocations: 204.1 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.1229, allocations: 216.2 kB / 441.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006553/0.1236, allocations: 196.6 kB / 441.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1236, allocations: 3.938 kB / 441.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001415/0.125, allocations: 479.3 kB / 441.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.125, allocations: 11.98 kB / 441.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1251, allocations: 0 / 441.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.1251, allocations: 0 / 441.8 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005523/0.1256, allocations: 79.89 kB / 441.9 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1257, allocations: 7.953 kB / 441.9 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/0.1261, allocations: 35.97 kB / 441.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.1262, allocations: 11.97 kB / 442 MB, free: 13.3 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.0001403/0.1263, allocations: 130.8 kB / 442.1 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.1263, allocations: 7.906 kB / 442.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.1278, allocations: 394 kB / 442.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.1279, allocations: 4 kB / 442.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.1279, allocations: 4 kB / 442.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.1279, allocations: 3.953 kB / 442.5 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.1307, allocations: 0.8206 MB / 443.3 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1307, allocations: 3.938 kB / 443.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/0.1312, allocations: 87.92 kB / 443.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.1312, allocations: 3.953 kB / 443.4 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.1313, allocations: 7.984 kB / 443.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.1313, allocations: 7.984 kB / 443.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1313, allocations: 0 / 443.4 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.1325, allocations: 449.8 kB / 443.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.83e-05/0.1327, allocations: 109 kB / 444 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.1327, allocations: 11.94 kB / 444 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.1331, allocations: 35.97 kB / 444 MB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.1332, allocations: 15.98 kB / 444 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.1332, allocations: 11.97 kB / 444 MB, free: 11.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.6e-05/0.1333, allocations: 95.27 kB / 444.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1333, allocations: 0 / 444.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005821/0.1338, allocations: 171.9 kB / 444.3 MB, free: 10.84 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.00066/0.1345, allocations: 270.9 kB / 444.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001323/0.1358, allocations: 395.7 kB / 444.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1359, allocations: 0 / 444.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005712/0.1364, allocations: 172 kB / 445.1 MB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.1368, allocations: 11.98 kB / 445.1 MB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.1393, allocations: 0.5754 MB / 445.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.1395, allocations: 0.6926 MB / 446.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002382/0.1398, allocations: 44.64 kB / 446.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.1399, allocations: 43.34 kB / 446.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1399, allocations: 0 / 446.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of Templates: time 0.01156/0.1515, allocations: 8.349 MB / 454.8 MB, free: 212 kB / 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: