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.001198/0.001198, allocations: 90.75 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.008311/0.008312, allocations: 173.7 kB / 16.27 MB, free: 6.676 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.639/1.639, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4633/0.4633, allocations: 55 MB / 325.7 MB, free: 0.5195 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.0005694/0.0005694, allocations: 20 kB / 397.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4286/0.4292, allocations: 60.71 MB / 458 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.2068/0.636, allocations: 157.4 MB / 0.6009 GB, free: 9.523 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.64, allocations: 2.235 MB / 0.6031 GB, free: 7.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.6404, allocations: 15.88 kB / 0.6031 GB, free: 7.273 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007916/0.6412, allocations: 214.9 kB / 0.6033 GB, free: 7.062 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.6426, allocations: 0.5535 MB / 0.6039 GB, free: 6.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.6439, allocations: 402 kB / 0.6043 GB, free: 6.121 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.6458, allocations: 1.404 MB / 0.6056 GB, free: 4.715 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.6462, allocations: 231.1 kB / 0.6059 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.6474, allocations: 0.5057 MB / 0.6063 GB, free: 3.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.6478, allocations: 294.8 kB / 0.6066 GB, free: 3.691 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.6479, allocations: 12 kB / 0.6066 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.6489, allocations: 0.581 MB / 0.6072 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.6491, allocations: 151.5 kB / 0.6074 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.6493, allocations: 236.7 kB / 0.6076 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.6503, allocations: 0.7478 MB / 0.6083 GB, free: 1.961 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6503, allocations: 0 / 0.6083 GB, free: 1.961 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6503, allocations: 7.938 kB / 0.6083 GB, free: 1.953 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.6503, allocations: 0 / 0.6083 GB, free: 1.953 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.001239/0.6516, allocations: 0.6853 MB / 0.609 GB, free: 1.223 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.6516, allocations: 8.031 kB / 0.609 GB, free: 1.215 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.6519, allocations: 55.45 kB / 0.609 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.6524, allocations: 346.5 kB / 0.6094 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.6524, allocations: 21.31 kB / 0.6094 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.6525, allocations: 28 kB / 0.6094 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.6537, allocations: 408.7 kB / 0.6098 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6537, allocations: 0 / 0.6098 GB, free: 336 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.825e-05/0.6537, allocations: 12 kB / 0.6098 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.6538, allocations: 8 kB / 0.6098 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.6548, allocations: 365.9 kB / 0.6102 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.6566, allocations: 1.095 MB / 0.6113 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.6574, allocations: 219.2 kB / 0.6115 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.6576, allocations: 87 kB / 0.6115 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.6577, allocations: 0 / 0.6115 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.6577, allocations: 38.5 kB / 0.6116 GB, free: 14.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.6577, allocations: 0 / 0.6116 GB, free: 14.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=12): time 0.001697/0.6594, allocations: 442.2 kB / 0.612 GB, free: 13.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.6595, allocations: 51.41 kB / 0.6121 GB, free: 13.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.6599, allocations: 413.6 kB / 0.6124 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.66, allocations: 29.7 kB / 0.6125 GB, free: 13.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.6602, allocations: 208 kB / 0.6127 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.6602, allocations: 43.39 kB / 0.6127 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.6603, allocations: 25.7 kB / 0.6127 GB, free: 13.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6604, allocations: 356.3 kB / 0.6131 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.6607, allocations: 91.92 kB / 0.6132 GB, free: 12.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.6611, allocations: 160.8 kB / 0.6133 GB, free: 12.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.6617, allocations: 251.5 kB / 0.6136 GB, free: 12.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6618, allocations: 0 / 0.6136 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007578/0.6625, allocations: 321.6 kB / 0.6139 GB, free: 11.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.6626, allocations: 131.8 kB / 0.614 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6627, allocations: 0 / 0.614 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.6627, allocations: 7.938 kB / 0.614 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.663, allocations: 59.89 kB / 0.6141 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.663, allocations: 4 kB / 0.6141 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003646/0.6634, allocations: 55.64 kB / 0.6141 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.6634, allocations: 12 kB / 0.6141 GB, free: 11.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.6634, allocations: 4 kB / 0.6141 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004023/0.6638, allocations: 184.7 kB / 0.6143 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6639, allocations: 7.984 kB / 0.6143 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-06/0.6639, allocations: 0.8125 kB / 0.6143 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.6641, allocations: 48.94 kB / 0.6144 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.6641, allocations: 1.953 kB / 0.6144 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.6643, allocations: 39.86 kB / 0.6144 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.6643, allocations: 8 kB / 0.6144 GB, free: 11.39 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.0002268/0.6646, allocations: 248.9 kB / 0.6146 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.6646, allocations: 31.62 kB / 0.6147 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.634e-05/0.6647, allocations: 39.12 kB / 0.6147 GB, free: 11.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6647, allocations: 4 kB / 0.6147 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6647, allocations: 1 kB / 0.6147 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.6648, allocations: 4 kB / 0.6147 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.666, allocations: 0.7451 MB / 0.6154 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.666, allocations: 4.844 kB / 0.6155 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.6663, allocations: 53.02 kB / 0.6155 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6663, allocations: 3.938 kB / 0.6155 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.6663, allocations: 4 kB / 0.6155 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6663, allocations: 4 kB / 0.6155 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6663, allocations: 3.938 kB / 0.6155 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.6671, allocations: 392.9 kB / 0.6159 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.6672, allocations: 147.7 kB / 0.616 GB, free: 9.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.6673, allocations: 3.938 kB / 0.616 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.6677, allocations: 48.64 kB / 0.6161 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.6678, allocations: 15.92 kB / 0.6161 GB, free: 9.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.6678, allocations: 15.98 kB / 0.6161 GB, free: 9.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003194/0.6681, allocations: 299.1 kB / 0.6164 GB, free: 9.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6682, allocations: 0 / 0.6164 GB, free: 9.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006706/0.6688, allocations: 195.8 kB / 0.6166 GB, free: 9.027 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.0005004/0.6693, allocations: 184.6 kB / 0.6168 GB, free: 8.848 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008762/0.6702, allocations: 329.8 kB / 0.6171 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6702, allocations: 0 / 0.6171 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.6705, allocations: 112.4 kB / 0.6172 GB, free: 8.418 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.6718, allocations: 222.3 kB / 0.6174 GB, free: 8.211 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.673, allocations: 0.8 MB / 0.6182 GB, free: 7.375 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.6734, allocations: 0.7999 MB / 0.619 GB, free: 6.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.6738, allocations: 91.22 kB / 0.619 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.6739, allocations: 31.42 kB / 0.6191 GB, free: 6.43 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.6739, allocations: 0 / 0.6191 GB, free: 6.43 MB / 494.1 MB Notification: Performance of Templates: time 0.01369/0.6876, allocations: 7.815 MB / 0.6267 GB, free: 14.73 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: