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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.01258/0.01258, allocations: 174.1 kB / 15.12 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.768/1.768, allocations: 194.5 MB / 210.3 MB, free: 7.625 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001837/0.001837, allocations: 128.5 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2245/0.2245, allocations: 40.02 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004313, allocations: 17.94 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1514/0.2999, allocations: 82.25 MB / 0.5306 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/0.3003, allocations: 79.95 kB / 0.5306 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3413/0.6417, allocations: 5.303 MB / 0.5358 GB, free: 82.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.6418, allocations: 1.188 kB / 0.5358 GB, free: 82.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.6418, allocations: 1.125 kB / 0.5358 GB, free: 82.82 MB / 378.7 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.0005501/0.6423, allocations: 409.6 kB / 0.5362 GB, free: 82.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.6424, allocations: 8.781 kB / 0.5362 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.6425, allocations: 9.375 kB / 0.5362 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.6426, allocations: 169.9 kB / 0.5364 GB, free: 82.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.6426, allocations: 12.62 kB / 0.5364 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.6427, allocations: 2.188 kB / 0.5364 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.6429, allocations: 67.67 kB / 0.5365 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6429, allocations: 0.5625 kB / 0.5365 GB, free: 82.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6429, allocations: 9.016 kB / 0.5365 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6429, allocations: 1.031 kB / 0.5365 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.6431, allocations: 55.45 kB / 0.5365 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002319/0.6433, allocations: 192.2 kB / 0.5367 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.6434, allocations: 63.41 kB / 0.5368 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.398e-05/0.6435, allocations: 19.72 kB / 0.5368 GB, free: 81.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.6435, allocations: 31.59 kB / 0.5368 GB, free: 81.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.6435, allocations: 0 / 0.5368 GB, free: 81.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.01774/0.6613, allocations: 1.323 MB / 0.5381 GB, free: 81.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.6614, allocations: 61.39 kB / 0.5382 GB, free: 81.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.6616, allocations: 113.6 kB / 0.5383 GB, free: 81.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.6616, allocations: 30.86 kB / 0.5383 GB, free: 81.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.678e-05/0.6617, allocations: 86.61 kB / 0.5384 GB, free: 81.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.6618, allocations: 45.11 kB / 0.5384 GB, free: 81.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.6618, allocations: 1.094 kB / 0.5384 GB, free: 81.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6619, allocations: 320.2 kB / 0.5387 GB, free: 81.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.6623, allocations: 96.16 kB / 0.5388 GB, free: 81.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.6626, allocations: 98.8 kB / 0.5389 GB, free: 81.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.663, allocations: 91.48 kB / 0.539 GB, free: 81.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.663, allocations: 1.156 kB / 0.539 GB, free: 81.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008381/0.6639, allocations: 243.4 kB / 0.5392 GB, free: 81.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.6639, allocations: 10.78 kB / 0.5393 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6639, allocations: 1.031 kB / 0.5393 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.664, allocations: 5.203 kB / 0.5393 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.6643, allocations: 36.19 kB / 0.5393 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.6644, allocations: 1.438 kB / 0.5393 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.6646, allocations: 19.73 kB / 0.5393 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.6646, allocations: 10.34 kB / 0.5393 GB, free: 81.01 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (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 prepare postOptimizeDAE: time 0.0001146/0.6648, allocations: 124.5 kB / 0.5394 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.6648, allocations: 9.406 kB / 0.5394 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.6659, allocations: 279.2 kB / 0.5397 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.6659, allocations: 8.953 kB / 0.5397 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-06/0.6659, allocations: 1.062 kB / 0.5397 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6659, allocations: 3.375 kB / 0.5397 GB, free: 80.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.6679, allocations: 0.6642 MB / 0.5404 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.668, allocations: 1.281 kB / 0.5404 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.6683, allocations: 47.66 kB / 0.5404 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.6683, allocations: 4.141 kB / 0.5404 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.6683, allocations: 5.531 kB / 0.5404 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6683, allocations: 1.781 kB / 0.5404 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6683, allocations: 1 kB / 0.5404 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.6692, allocations: 396.3 kB / 0.5408 GB, free: 80.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.6693, allocations: 104.9 kB / 0.5409 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.6694, allocations: 3.906 kB / 0.5409 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.6696, allocations: 15.94 kB / 0.5409 GB, free: 80.15 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.6697, allocations: 12.59 kB / 0.5409 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.6697, allocations: 13.45 kB / 0.541 GB, free: 80.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.179e-05/0.6698, allocations: 101.8 kB / 0.5411 GB, free: 80.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6698, allocations: 0.9375 kB / 0.5411 GB, free: 80.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001013/0.6708, allocations: 171.9 kB / 0.5412 GB, free: 80.02 MB / 378.7 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.000855/0.6717, allocations: 262.5 kB / 0.5415 GB, free: 79.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009011/0.6726, allocations: 207.4 kB / 0.5417 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.6726, allocations: 0 / 0.5417 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.673, allocations: 112.9 kB / 0.5418 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6733, allocations: 15.31 kB / 0.5418 GB, free: 79.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.6749, allocations: 412.2 kB / 0.5422 GB, free: 79.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/0.6751, allocations: 0.6977 MB / 0.5429 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001998/0.6753, allocations: 36.98 kB / 0.5429 GB, free: 78.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6754, allocations: 22.33 kB / 0.5429 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.6754, allocations: 0 / 0.5429 GB, free: 78.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01133/0.6867, allocations: 5.175 MB / 0.548 GB, free: 76.53 MB / 378.7 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)