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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001633/0.001633, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.43/1.43, allocations: 170.6 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001648/0.001648, allocations: 105.2 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1934/0.1934, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.948e-05, allocations: 3.094 kB / 350 MB, free: 37.04 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 48.73 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4805, allocations: 75.11 MB / 473.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4808, allocations: 77.06 kB / 473.9 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01512/0.4959, allocations: 5.177 MB / 479.1 MB, free: 17.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.496, allocations: 5.062 kB / 479.1 MB, free: 17.31 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.496, allocations: 1.406 kB / 479.1 MB, free: 17.31 MB / 330.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.0004073/0.4964, allocations: 407.6 kB / 479.5 MB, free: 16.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.4965, allocations: 9.062 kB / 479.5 MB, free: 16.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.4965, allocations: 7.688 kB / 479.5 MB, free: 16.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4967, allocations: 176.3 kB / 479.7 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4967, allocations: 0 / 479.7 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.4967, allocations: 3.656 kB / 479.7 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001331/0.4968, allocations: 52.2 kB / 479.7 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.497, allocations: 67.3 kB / 479.8 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.497, allocations: 0 / 479.8 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.497, allocations: 0 / 479.8 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.497, allocations: 2.312 kB / 479.8 MB, free: 16.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.4972, allocations: 167.3 kB / 480 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.649e-05/0.4973, allocations: 52.16 kB / 480 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.4974, allocations: 36.8 kB / 480.1 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.039e-05/0.4975, allocations: 30.83 kB / 480.1 MB, free: 16.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.4975, allocations: 35.75 kB / 480.1 MB, free: 16.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.4975, allocations: 0 / 480.1 MB, free: 16.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.01961/0.5171, allocations: 1.618 MB / 481.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.5172, allocations: 53.75 kB / 481.8 MB, free: 16.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.5173, allocations: 111 kB / 481.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.5173, allocations: 26.8 kB / 481.9 MB, free: 16.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.5174, allocations: 92.67 kB / 482 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.5174, allocations: 42.25 kB / 482.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.601e-05/0.5175, allocations: 0 / 482.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.5175, allocations: 323.8 kB / 482.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5177, allocations: 74.41 kB / 482.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.5178, allocations: 68.17 kB / 482.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.5191, allocations: 219.7 kB / 482.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5191, allocations: 1.469 kB / 482.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001395/0.5205, allocations: 350 kB / 483.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.5205, allocations: 6.219 kB / 483.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5205, allocations: 4 kB / 483.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5205, allocations: 1.156 kB / 483.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003316/0.5209, allocations: 34.72 kB / 483.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5209, allocations: 7.312 kB / 483.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.5211, allocations: 15.56 kB / 483.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.5212, allocations: 6.75 kB / 483.2 MB, free: 15.53 MB / 330.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 () * 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 8e-05/0.5213, allocations: 110.2 kB / 483.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.5213, allocations: 7.781 kB / 483.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.5229, allocations: 389 kB / 483.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5229, allocations: 1.281 kB / 483.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5229, allocations: 0 / 483.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.523, allocations: 4 kB / 483.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002561/0.5255, allocations: 0.7385 MB / 484.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.5255, allocations: 1.094 kB / 484.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002843/0.5258, allocations: 43.48 kB / 484.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.5259, allocations: 9.234 kB / 484.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.5259, allocations: 3.25 kB / 484.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.5259, allocations: 1.062 kB / 484.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.5259, allocations: 2.312 kB / 484.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.5275, allocations: 494.7 kB / 484.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.924e-05/0.5276, allocations: 106.6 kB / 485 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.5277, allocations: 6.281 kB / 485 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.5279, allocations: 12.3 kB / 485.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.5279, allocations: 11.36 kB / 485.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.528, allocations: 12.58 kB / 485.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.243e-05/0.528, allocations: 98.67 kB / 485.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5281, allocations: 1 kB / 485.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000738/0.5288, allocations: 174.8 kB / 485.3 MB, free: 14.59 MB / 330.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 () * 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.0007473/0.5296, allocations: 252.2 kB / 485.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.5299, allocations: 154 kB / 485.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5299, allocations: 1.375 kB / 485.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.5301, allocations: 84.42 kB / 485.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.5303, allocations: 13.64 kB / 485.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.5316, allocations: 262.8 kB / 486.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/0.5323, allocations: 0.7032 MB / 486.8 MB, free: 29.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.5326, allocations: 28.67 kB / 486.8 MB, free: 29.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5327, allocations: 28.17 kB / 486.9 MB, free: 29.61 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5327, allocations: 4 kB / 486.9 MB, free: 29.6 MB / 346.7 MB Notification: Performance of Templates: time 0.008973/0.5417, allocations: 4.933 MB / 491.8 MB, free: 29.19 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.makefile (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)