Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.081/5.081, allocations: 0.5623 GB / 0.5776 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002552/0.002552, allocations: 359.6 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.363/4.363, allocations: 410.7 MB / 1.113 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001983/0.001983, allocations: 190.8 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005495/0.0005497, allocations: 8 kB / 1.349 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8009, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0178/0.8188, allocations: 13.76 MB / 1.475 GB, free: 270.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006475/0.8253, allocations: 3.497 MB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006807/0.826, allocations: 19.94 kB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.8268, allocations: 166.9 kB / 1.478 GB, free: 266.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.8295, allocations: 0.6616 MB / 1.479 GB, free: 266.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.8318, allocations: 0.5468 MB / 1.48 GB, free: 265.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002225/0.8341, allocations: 1.187 MB / 1.481 GB, free: 264.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005495/0.8347, allocations: 217 kB / 1.481 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008766/0.8356, allocations: 340 kB / 1.481 GB, free: 264 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.836, allocations: 250.9 kB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.632e-05/0.8361, allocations: 12.66 kB / 1.481 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.8375, allocations: 485 kB / 1.482 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.8376, allocations: 67.67 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.8378, allocations: 85.52 kB / 1.482 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.8387, allocations: 447 kB / 1.483 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8387, allocations: 0 / 1.483 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8387, allocations: 0 / 1.483 GB, free: 262.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8387, allocations: 2.562 kB / 1.483 GB, free: 262.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001394/0.8401, allocations: 0.6709 MB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.8402, allocations: 11.62 kB / 1.483 GB, free: 262 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.8403, allocations: 43.53 kB / 1.483 GB, free: 261.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.8415, allocations: 488.2 kB / 1.484 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.8416, allocations: 16.33 kB / 1.484 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.8416, allocations: 16.72 kB / 1.484 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.8422, allocations: 181.8 kB / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.8422, allocations: 0 / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.8423, allocations: 9.25 kB / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.8423, allocations: 4 kB / 1.484 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.8428, allocations: 156.2 kB / 1.484 GB, free: 261.1 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.8443, allocations: 0.8631 MB / 1.485 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.8447, allocations: 128.4 kB / 1.485 GB, free: 260 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.845, allocations: 74 kB / 1.485 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.8454, allocations: 333.6 kB / 1.485 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.8454, allocations: 47.14 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=12): time 3.476e-06/0.8454, allocations: 0 / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12): time 0.0008564/0.8463, allocations: 235.1 kB / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.8463, allocations: 51.41 kB / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.8468, allocations: 345.7 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.8468, allocations: 29.7 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.847, allocations: 196.2 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.847, allocations: 37.97 kB / 1.486 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.8471, allocations: 7.938 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.8472, allocations: 338.8 kB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.8474, allocations: 53 kB / 1.487 GB, free: 258.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.8477, allocations: 93.61 kB / 1.487 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.8479, allocations: 57.91 kB / 1.487 GB, free: 258 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8479, allocations: 1.281 kB / 1.487 GB, free: 258 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006458/0.8486, allocations: 179.5 kB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.53e-05/0.8487, allocations: 102.7 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8487, allocations: 7.938 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.8487, allocations: 0.5938 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.849, allocations: 28.78 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.849, allocations: 6.031 kB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.8494, allocations: 28.89 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.8495, allocations: 13.44 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.8495, allocations: 11.22 kB / 1.487 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004844/0.85, allocations: 118.5 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.85, allocations: 0 / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.85, allocations: 5.688 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.8503, allocations: 31.92 kB / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8503, allocations: 0 / 1.487 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.8507, allocations: 30.09 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.583e-05/0.8508, allocations: 4.938 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 0.0002253/0.851, allocations: 225.8 kB / 1.488 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.591e-05/0.8511, allocations: 39.53 kB / 1.488 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/0.8518, allocations: 226.4 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.8519, allocations: 1.188 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.8519, allocations: 0 / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.852, allocations: 136.5 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.8521, allocations: 9.938 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.8525, allocations: 20.67 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.8526, allocations: 13.08 kB / 1.488 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006342/0.8532, allocations: 279.6 kB / 1.488 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006078/0.8538, allocations: 388.8 kB / 1.489 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002395/0.8541, allocations: 77.5 kB / 1.489 GB, free: 256 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003081/0.8544, allocations: 240.5 kB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of Backend: time 8.11e-07/0.8544, allocations: 3.938 kB / 1.489 GB, free: 255.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.8561, allocations: 389.2 kB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.00194/0.8581, allocations: 1.21 MB / 1.491 GB, free: 254.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01808/0.8762, allocations: 6.664 MB / 1.497 GB, free: 247.9 MB / 0.8542 GB