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.001437/0.001438, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001853/0.001853, allocations: 194.3 kB / 16.25 MB, free: 6.625 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.758/1.758, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.3505/0.3505, allocations: 39.93 MB / 309.4 MB, free: 9.043 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.001349/0.001349, allocations: 75.89 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.114, allocations: 56.88 MB / 434 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002439/0.1165, allocations: 1.505 MB / 435.5 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1185, allocations: 1.453 MB / 437 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.1185, allocations: 3.938 kB / 437 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.1188, allocations: 27.84 kB / 437 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.119, allocations: 44.03 kB / 437 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.1195, allocations: 203.4 kB / 437.2 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.1196, allocations: 55.78 kB / 437.3 MB, free: 472 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.916e-05/0.1197, allocations: 7.984 kB / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.1198, allocations: 23.88 kB / 437.3 MB, free: 440 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.1199, allocations: 23.84 kB / 437.3 MB, free: 416 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1199, allocations: 4 kB / 437.3 MB, free: 412 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006075/0.1205, allocations: 339.5 kB / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.1205, allocations: 0 / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.796e-05/0.1206, allocations: 31.8 kB / 437.7 MB, free: 40 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.121, allocations: 275.4 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/0.1211, allocations: 7.984 kB / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1211, allocations: 0 / 438 MB, free: 15.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1211, allocations: 0 / 438 MB, free: 15.76 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.0006219/0.1217, allocations: 415.1 kB / 438.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.1218, allocations: 15.89 kB / 438.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.1218, allocations: 4.844 kB / 438.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.122, allocations: 172.2 kB / 438.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1221, allocations: 4.375 kB / 438.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.1221, allocations: 8.375 kB / 438.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.1223, allocations: 73.78 kB / 438.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.1223, allocations: 3.938 kB / 438.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1223, allocations: 0 / 438.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1223, allocations: 0 / 438.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.1224, allocations: 55.97 kB / 438.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.1228, allocations: 189.5 kB / 438.9 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.1229, allocations: 54.56 kB / 439 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.123, allocations: 44.84 kB / 439 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.279e-05/0.1231, allocations: 15.98 kB / 439 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.1232, allocations: 46.44 kB / 439.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 4.528e-06/0.1232, allocations: 0 / 439.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0197/0.1429, allocations: 1.623 MB / 440.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.143, allocations: 51.41 kB / 440.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1431, allocations: 141.7 kB / 440.9 MB, free: 12.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1432, allocations: 25.7 kB / 440.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.1432, allocations: 96.03 kB / 441 MB, free: 12.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.1433, allocations: 35.45 kB / 441 MB, free: 12.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.1434, allocations: 49.69 kB / 441.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1435, allocations: 322.8 kB / 441.4 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.1441, allocations: 199.9 kB / 441.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.1447, allocations: 207.8 kB / 441.8 MB, free: 11.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.1459, allocations: 376.7 kB / 442.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1459, allocations: 0 / 442.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001345/0.1473, allocations: 465.4 kB / 442.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1473, allocations: 4 kB / 442.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1473, allocations: 0 / 442.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1473, allocations: 0 / 442.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.1479, allocations: 67.94 kB / 442.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1479, allocations: 0 / 442.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.1483, allocations: 43.95 kB / 442.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.1483, allocations: 4 kB / 442.7 MB, free: 10.77 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.0001303/0.1484, allocations: 125.7 kB / 442.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1485, allocations: 7.906 kB / 442.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.1498, allocations: 362.1 kB / 443.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1499, allocations: 0 / 443.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1499, allocations: 0 / 443.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1499, allocations: 4 kB / 443.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.1526, allocations: 0.7816 MB / 444 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1526, allocations: 0 / 444 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.1531, allocations: 71.86 kB / 444.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.1531, allocations: 8.094 kB / 444.1 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.1532, allocations: 4 kB / 444.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1532, allocations: 0 / 444.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1532, allocations: 8.078 kB / 444.1 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.1544, allocations: 421.8 kB / 444.5 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1545, allocations: 109 kB / 444.6 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.1546, allocations: 8 kB / 444.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.155, allocations: 39.95 kB / 444.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.225e-05/0.155, allocations: 7.938 kB / 444.7 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.1551, allocations: 11.98 kB / 444.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.079e-05/0.1551, allocations: 99.27 kB / 444.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1552, allocations: 4 kB / 444.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005825/0.1557, allocations: 163.9 kB / 444.9 MB, free: 8.441 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.0006541/0.1564, allocations: 255 kB / 445.2 MB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1577, allocations: 379.7 kB / 445.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1577, allocations: 0 / 445.6 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.1582, allocations: 152 kB / 445.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1586, allocations: 15.98 kB / 445.7 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.161, allocations: 0.5341 MB / 446.3 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.1614, allocations: 0.7002 MB / 447 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002456/0.1616, allocations: 52.69 kB / 447 MB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1618, allocations: 23.42 kB / 447 MB, free: 6.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1618, allocations: 0 / 447 MB, free: 6.27 MB / 382.1 MB Notification: Performance of Templates: time 0.2482/0.41, allocations: 8.518 MB / 455.5 MB, free: 52.04 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)