Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001384/0.001385, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.596/1.596, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4272/0.4272, allocations: 54.92 MB / 324.3 MB, free: 160 kB / 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.001502/0.001502, allocations: 63.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1716, allocations: 59.59 MB / 454.2 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.4735/0.6451, allocations: 159.5 MB / 0.5993 GB, free: 8.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.6492, allocations: 2.269 MB / 0.6015 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.6496, allocations: 11.94 kB / 0.6015 GB, free: 6.172 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008131/0.6505, allocations: 214.9 kB / 0.6017 GB, free: 5.961 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.652, allocations: 0.5563 MB / 0.6023 GB, free: 5.402 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.6532, allocations: 405.2 kB / 0.6027 GB, free: 5.012 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.6551, allocations: 1.412 MB / 0.6041 GB, free: 3.598 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.6555, allocations: 223.1 kB / 0.6043 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.6568, allocations: 0.5057 MB / 0.6048 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004239/0.6572, allocations: 290.8 kB / 0.605 GB, free: 2.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.145e-05/0.6573, allocations: 20 kB / 0.6051 GB, free: 2.566 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.6584, allocations: 0.5849 MB / 0.6056 GB, free: 1.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.6586, allocations: 143.6 kB / 0.6058 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002616/0.6589, allocations: 215.8 kB / 0.606 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009779/0.6599, allocations: 0.7751 MB / 0.6067 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6599, allocations: 0 / 0.6067 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.6599, allocations: 0 / 0.6067 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.6599, allocations: 0 / 0.6067 GB, free: 0.8516 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001413/0.6613, allocations: 0.7489 MB / 0.6075 GB, free: 60 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.6614, allocations: 8.031 kB / 0.6075 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002511/0.6616, allocations: 52.92 kB / 0.6075 GB, free: 0 / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.6622, allocations: 358.3 kB / 0.6079 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.6622, allocations: 21.5 kB / 0.6079 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.6623, allocations: 32 kB / 0.6079 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.6635, allocations: 384.7 kB / 0.6083 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.6635, allocations: 3.938 kB / 0.6083 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.6635, allocations: 12 kB / 0.6083 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.6636, allocations: 8 kB / 0.6083 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6646, allocations: 333.9 kB / 0.6086 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.6667, allocations: 1.099 MB / 0.6097 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/0.6675, allocations: 201 kB / 0.6099 GB, free: 13.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.6677, allocations: 68.91 kB / 0.6099 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.6677, allocations: 0 / 0.6099 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.6678, allocations: 42.5 kB / 0.61 GB, free: 13.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.6678, allocations: 0 / 0.61 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001744/0.6696, allocations: 392.9 kB / 0.6104 GB, free: 12.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.6696, allocations: 59.41 kB / 0.6104 GB, free: 12.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.6701, allocations: 413.5 kB / 0.6108 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.6701, allocations: 25.7 kB / 0.6108 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.6703, allocations: 204 kB / 0.611 GB, free: 12.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.6703, allocations: 51.3 kB / 0.6111 GB, free: 12.15 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.6704, allocations: 38.73 kB / 0.6111 GB, free: 12.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6706, allocations: 342.8 kB / 0.6114 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.6709, allocations: 102.5 kB / 0.6115 GB, free: 11.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.6712, allocations: 151.2 kB / 0.6117 GB, free: 11.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/0.6718, allocations: 227.1 kB / 0.6119 GB, free: 11.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.6718, allocations: 0 / 0.6119 GB, free: 11.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006933/0.6725, allocations: 296.9 kB / 0.6122 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.6725, allocations: 16.11 kB / 0.6122 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6726, allocations: 0 / 0.6122 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6726, allocations: 4 kB / 0.6122 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.6729, allocations: 47.97 kB / 0.6123 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.6729, allocations: 13.14 kB / 0.6123 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.6733, allocations: 51.66 kB / 0.6123 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.44e-05/0.6733, allocations: 11.94 kB / 0.6123 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002675/0.6736, allocations: 188.1 kB / 0.6125 GB, free: 10.63 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001675/0.6738, allocations: 113.8 kB / 0.6126 GB, free: 10.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000302/0.6741, allocations: 185.8 kB / 0.6128 GB, free: 10.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.6741, allocations: 0 / 0.6128 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000415/0.6745, allocations: 238.9 kB / 0.613 GB, free: 10.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.684e-06/0.6745, allocations: 4 kB / 0.613 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.6745, allocations: 4 kB / 0.613 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.6745, allocations: 4.484 kB / 0.613 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.6747, allocations: 39.92 kB / 0.6131 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.6747, allocations: 7.938 kB / 0.6131 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.675, allocations: 25.23 kB / 0.6131 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.675, allocations: 9 kB / 0.6131 GB, free: 9.965 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 (20): * Single equations (assignments): 20 * 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.0001398/0.6751, allocations: 200.1 kB / 0.6133 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.6752, allocations: 35.62 kB / 0.6133 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.769e-05/0.6753, allocations: 43.11 kB / 0.6134 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6753, allocations: 0 / 0.6134 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.6753, allocations: 0 / 0.6134 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6753, allocations: 0 / 0.6134 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/0.6766, allocations: 0.7306 MB / 0.6141 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.6766, allocations: 4 kB / 0.6141 GB, free: 8.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.6768, allocations: 47.84 kB / 0.6141 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6768, allocations: 0 / 0.6141 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.6769, allocations: 4 kB / 0.6141 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6769, allocations: 0.5625 kB / 0.6141 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6769, allocations: 4.547 kB / 0.6141 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007034/0.6776, allocations: 377.7 kB / 0.6145 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.6778, allocations: 152.5 kB / 0.6147 GB, free: 8.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.503e-05/0.6778, allocations: 8 kB / 0.6147 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.6782, allocations: 27.91 kB / 0.6147 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.6783, allocations: 16.73 kB / 0.6147 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.6784, allocations: 15.98 kB / 0.6147 GB, free: 8.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000302/0.6787, allocations: 299.1 kB / 0.615 GB, free: 7.891 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6787, allocations: 0 / 0.615 GB, free: 7.891 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006487/0.6793, allocations: 199.8 kB / 0.6152 GB, free: 7.695 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 (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.0004993/0.6798, allocations: 190.2 kB / 0.6154 GB, free: 7.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008225/0.6807, allocations: 297.7 kB / 0.6157 GB, free: 7.223 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6807, allocations: 0 / 0.6157 GB, free: 7.223 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002856/0.681, allocations: 104.7 kB / 0.6158 GB, free: 7.121 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.6821, allocations: 210 kB / 0.616 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.6834, allocations: 0.7675 MB / 0.6167 GB, free: 6.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.6838, allocations: 0.8077 MB / 0.6175 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.6842, allocations: 91.2 kB / 0.6176 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.748e-05/0.6843, allocations: 35.42 kB / 0.6176 GB, free: 5.164 MB / 494.1 MB Notification: Performance of SimCode: time 6.41e-07/0.6843, allocations: 0 / 0.6176 GB, free: 5.164 MB / 494.1 MB Notification: Performance of Templates: time 0.01333/0.6977, allocations: 7.848 MB / 0.6253 GB, free: 13.45 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)