Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Annex60.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009845, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.00814/0.00814, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.696/1.696, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4252/0.4252, allocations: 55.02 MB / 325.8 MB, free: 0.5859 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: Annex60 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.0005895/0.0005895, allocations: 16.66 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3438, allocations: 60.72 MB / 458 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.1982/0.542, allocations: 157.2 MB / 0.6007 GB, free: 9.711 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.5455, allocations: 1.546 MB / 0.6023 GB, free: 8.164 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006549/0.5462, allocations: 11.94 kB / 0.6023 GB, free: 8.152 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.5475, allocations: 216.8 kB / 0.6025 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.5492, allocations: 390.3 kB / 0.6028 GB, free: 7.559 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.5507, allocations: 401.9 kB / 0.6032 GB, free: 7.172 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.5525, allocations: 1.233 MB / 0.6044 GB, free: 5.938 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005343/0.5531, allocations: 206.9 kB / 0.6046 GB, free: 5.746 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.5546, allocations: 462.1 kB / 0.6051 GB, free: 5.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006837/0.5553, allocations: 262.9 kB / 0.6053 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.5554, allocations: 16 kB / 0.6053 GB, free: 5.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.5566, allocations: 499.1 kB / 0.6058 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/0.5569, allocations: 135.6 kB / 0.6059 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.5573, allocations: 216.8 kB / 0.6062 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.5584, allocations: 0.627 MB / 0.6068 GB, free: 3.551 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5584, allocations: 0 / 0.6068 GB, free: 3.551 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.5584, allocations: 0 / 0.6068 GB, free: 3.551 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.5585, allocations: 0 / 0.6068 GB, free: 3.551 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001469/0.5599, allocations: 0.6291 MB / 0.6074 GB, free: 2.875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.56, allocations: 12.03 kB / 0.6074 GB, free: 2.863 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.5604, allocations: 47.53 kB / 0.6074 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.5609, allocations: 329.2 kB / 0.6077 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/0.561, allocations: 24.56 kB / 0.6078 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.5611, allocations: 25.22 kB / 0.6078 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.5623, allocations: 400.6 kB / 0.6082 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5623, allocations: 0 / 0.6082 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.586e-05/0.5624, allocations: 12.94 kB / 0.6082 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.5624, allocations: 4 kB / 0.6082 GB, free: 2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.5634, allocations: 338 kB / 0.6085 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.5655, allocations: 1.088 MB / 0.6096 GB, free: 496 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007356/0.5662, allocations: 194.5 kB / 0.6098 GB, free: 292 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.5664, allocations: 84.88 kB / 0.6098 GB, free: 204 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.5665, allocations: 4 kB / 0.6098 GB, free: 200 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.5665, allocations: 36.81 kB / 0.6099 GB, free: 156 kB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 1.803e-06/0.5665, allocations: 0 / 0.6099 GB, free: 156 kB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001658/0.5682, allocations: 414.3 kB / 0.6103 GB, free: 15.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.5682, allocations: 51.41 kB / 0.6103 GB, free: 15.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.5687, allocations: 373.6 kB / 0.6107 GB, free: 15.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.5687, allocations: 33.7 kB / 0.6107 GB, free: 15.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.5689, allocations: 196 kB / 0.6109 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.5689, allocations: 39.39 kB / 0.6109 GB, free: 15.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.569, allocations: 25.7 kB / 0.611 GB, free: 15 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5691, allocations: 342.8 kB / 0.6113 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.5695, allocations: 96.58 kB / 0.6114 GB, free: 14.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.5699, allocations: 169.9 kB / 0.6115 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006268/0.5705, allocations: 247.2 kB / 0.6118 GB, free: 14.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.5705, allocations: 4 kB / 0.6118 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007888/0.5713, allocations: 301.9 kB / 0.6121 GB, free: 13.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.5715, allocations: 134.8 kB / 0.6122 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5715, allocations: 0.9375 kB / 0.6122 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/0.5715, allocations: 7.984 kB / 0.6122 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.5718, allocations: 63.91 kB / 0.6123 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.5718, allocations: 0 / 0.6123 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.5722, allocations: 52.66 kB / 0.6123 GB, free: 13.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.5723, allocations: 15.92 kB / 0.6123 GB, free: 13.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.5723, allocations: 8 kB / 0.6123 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003993/0.5727, allocations: 176.8 kB / 0.6125 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5727, allocations: 4 kB / 0.6125 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.5727, allocations: 0 / 0.6125 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.5729, allocations: 56.95 kB / 0.6126 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5729, allocations: 4 kB / 0.6126 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.5732, allocations: 32.64 kB / 0.6126 GB, free: 13.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.5732, allocations: 8 kB / 0.6126 GB, free: 13.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * 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 prepare postOptimizeDAE: time 0.0003204/0.5736, allocations: 241 kB / 0.6128 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5737, allocations: 35.61 kB / 0.6129 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.5738, allocations: 38.86 kB / 0.6129 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5738, allocations: 0 / 0.6129 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.5738, allocations: 0 / 0.6129 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5738, allocations: 0 / 0.6129 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.5753, allocations: 0.7383 MB / 0.6136 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5753, allocations: 4 kB / 0.6136 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.5756, allocations: 43.91 kB / 0.6137 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.5756, allocations: 4.188 kB / 0.6137 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.5756, allocations: 8 kB / 0.6137 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.5756, allocations: 7.938 kB / 0.6137 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5756, allocations: 4.609 kB / 0.6137 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.5765, allocations: 384.2 kB / 0.6141 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.5767, allocations: 136.7 kB / 0.6142 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.5768, allocations: 4 kB / 0.6142 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.5772, allocations: 53.05 kB / 0.6143 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.411e-05/0.5773, allocations: 11.92 kB / 0.6143 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.5774, allocations: 15.98 kB / 0.6143 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003313/0.5777, allocations: 267.2 kB / 0.6145 GB, free: 11.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.02e-07/0.5777, allocations: 4 kB / 0.6145 GB, free: 11.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.5784, allocations: 147.8 kB / 0.6147 GB, free: 10.97 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 11 * 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.000507/0.5789, allocations: 141.7 kB / 0.6148 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.5798, allocations: 323.7 kB / 0.6151 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.5799, allocations: 4 kB / 0.6151 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.5802, allocations: 104.4 kB / 0.6152 GB, free: 10.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.5815, allocations: 215.3 kB / 0.6154 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.5828, allocations: 0.7327 MB / 0.6162 GB, free: 9.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.5833, allocations: 0.7882 MB / 0.6169 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.5838, allocations: 88.86 kB / 0.617 GB, free: 8.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.022e-05/0.5839, allocations: 31.38 kB / 0.617 GB, free: 8.516 MB / 494.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5839, allocations: 4 kB / 0.617 GB, free: 8.512 MB / 494.1 MB Notification: Performance of Templates: time 0.01353/0.5974, allocations: 6.756 MB / 0.6236 GB, free: 1.859 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: