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.008136/0.008137, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001423/0.001423, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.613/1.613, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2641/0.2641, allocations: 54.97 MB / 324.9 MB, free: 4.836 MB / 270.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.001617/0.001617, allocations: 71.91 kB / 456.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.167, allocations: 59.59 MB / 0.5037 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.6975/0.8645, allocations: 161.5 MB / 0.6614 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00294/0.8675, allocations: 1.551 MB / 0.6629 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.8679, allocations: 7.938 kB / 0.6629 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008308/0.8688, allocations: 250.6 kB / 0.6632 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.8698, allocations: 398 kB / 0.6636 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.8711, allocations: 450.8 kB / 0.664 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001094/0.8722, allocations: 0.8895 MB / 0.6649 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/0.8725, allocations: 259.8 kB / 0.6651 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.8736, allocations: 0.5097 MB / 0.6656 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.8739, allocations: 259 kB / 0.6658 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.874, allocations: 28 kB / 0.6659 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.8748, allocations: 491.2 kB / 0.6663 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.875, allocations: 151.6 kB / 0.6665 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.8753, allocations: 211.1 kB / 0.6667 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000829/0.8761, allocations: 0.6492 MB / 0.6673 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.8761, allocations: 3.938 kB / 0.6673 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8761, allocations: 4 kB / 0.6673 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8761, allocations: 0 / 0.6673 GB, free: 9.344 MB / 0.5137 GB 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.001294/0.8774, allocations: 0.6972 MB / 0.668 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.8775, allocations: 8.031 kB / 0.668 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002978/0.8778, allocations: 51.61 kB / 0.6681 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.8783, allocations: 337.2 kB / 0.6684 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.8783, allocations: 24.48 kB / 0.6684 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.8784, allocations: 28 kB / 0.6684 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.8795, allocations: 380.7 kB / 0.6688 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.8795, allocations: 0 / 0.6688 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.8795, allocations: 12 kB / 0.6688 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.8796, allocations: 4 kB / 0.6688 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009333/0.8805, allocations: 318 kB / 0.6691 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.8823, allocations: 1.076 MB / 0.6702 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006973/0.883, allocations: 186.5 kB / 0.6703 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.8832, allocations: 69.88 kB / 0.6704 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.8832, allocations: 0 / 0.6704 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.8833, allocations: 42.55 kB / 0.6705 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=11): time 2.965e-06/0.8833, allocations: 4 kB / 0.6705 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001542/0.8848, allocations: 367.1 kB / 0.6708 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.8849, allocations: 51.41 kB / 0.6709 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.8853, allocations: 385.5 kB / 0.6712 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.8853, allocations: 29.7 kB / 0.6713 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.8855, allocations: 188.1 kB / 0.6714 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.8855, allocations: 43.45 kB / 0.6715 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.8856, allocations: 41.61 kB / 0.6715 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.8858, allocations: 342.8 kB / 0.6718 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.8861, allocations: 96.73 kB / 0.6719 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.8864, allocations: 159.6 kB / 0.6721 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005592/0.887, allocations: 223.7 kB / 0.6723 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.887, allocations: 0 / 0.6723 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006873/0.8877, allocations: 294.4 kB / 0.6726 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.8877, allocations: 11.94 kB / 0.6726 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.8877, allocations: 0 / 0.6726 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.8878, allocations: 8.125 kB / 0.6726 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.8881, allocations: 47.95 kB / 0.6726 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.8881, allocations: 4 kB / 0.6727 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.8884, allocations: 47.61 kB / 0.6727 GB, free: 3.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.8884, allocations: 11.92 kB / 0.6727 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002491/0.8887, allocations: 184.1 kB / 0.6729 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001783/0.8889, allocations: 119.7 kB / 0.673 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003053/0.8892, allocations: 181.1 kB / 0.6732 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.234e-06/0.8892, allocations: 4.484 kB / 0.6732 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004135/0.8896, allocations: 225.1 kB / 0.6734 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.8896, allocations: 8.125 kB / 0.6734 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/0.8896, allocations: 4 kB / 0.6734 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/0.8896, allocations: 6.125 kB / 0.6734 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.8898, allocations: 35.92 kB / 0.6734 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.8898, allocations: 10.09 kB / 0.6734 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.89, allocations: 23.83 kB / 0.6735 GB, free: 2.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.8901, allocations: 8 kB / 0.6735 GB, free: 2.668 MB / 0.5137 GB 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.000132/0.8902, allocations: 192.2 kB / 0.6737 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-05/0.8903, allocations: 35.62 kB / 0.6737 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.403e-05/0.8904, allocations: 34.86 kB / 0.6737 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8904, allocations: 3.938 kB / 0.6737 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8904, allocations: 0 / 0.6737 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8904, allocations: 0 / 0.6737 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.8916, allocations: 0.7139 MB / 0.6744 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8917, allocations: 0 / 0.6744 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.8919, allocations: 39.91 kB / 0.6745 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.8919, allocations: 8.188 kB / 0.6745 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.8919, allocations: 8.812 kB / 0.6745 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8919, allocations: 3.984 kB / 0.6745 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8919, allocations: 4 kB / 0.6745 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006781/0.8926, allocations: 368.1 kB / 0.6748 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.8928, allocations: 136.7 kB / 0.675 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.8929, allocations: 15.94 kB / 0.675 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003788/0.8932, allocations: 25.09 kB / 0.675 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.8933, allocations: 15.98 kB / 0.675 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.522e-05/0.8934, allocations: 11.98 kB / 0.675 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002844/0.8937, allocations: 275.1 kB / 0.6753 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8937, allocations: 0 / 0.6753 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005763/0.8943, allocations: 151.8 kB / 0.6754 GB, free: 0.5234 MB / 0.5137 GB 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.0003755/0.8946, allocations: 144.9 kB / 0.6756 GB, free: 388 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008442/0.8955, allocations: 293.2 kB / 0.6759 GB, free: 96 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.8955, allocations: 4 kB / 0.6759 GB, free: 92 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.8958, allocations: 104.7 kB / 0.676 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.8968, allocations: 200.3 kB / 0.6762 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.898, allocations: 0.5834 MB / 0.6767 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.8984, allocations: 0.7879 MB / 0.6775 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000302/0.8987, allocations: 86.91 kB / 0.6776 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.8988, allocations: 27.42 kB / 0.6776 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.8988, allocations: 7.938 kB / 0.6776 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.01339/0.9122, allocations: 7.038 MB / 0.6845 GB, free: 7.281 MB / 0.5294 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile (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)