Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0008954/0.0008954, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001063/0.001063, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.758/1.758, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.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: Performance of FrontEnd - loaded program: time 0.000582/0.0005822, allocations: 16 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6214/0.622, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01603/0.6381, allocations: 13.79 MB / 0.7416 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006323/0.6445, allocations: 3.546 MB / 0.745 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006795/0.6453, allocations: 19.94 kB / 0.7451 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.646, allocations: 135.1 kB / 0.7452 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.6479, allocations: 0.5599 MB / 0.7457 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.6493, allocations: 401.3 kB / 0.7461 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.651, allocations: 1.192 MB / 0.7473 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.6514, allocations: 216.7 kB / 0.7475 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006536/0.6521, allocations: 362.3 kB / 0.7478 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003489/0.6524, allocations: 246.9 kB / 0.7481 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.6525, allocations: 12 kB / 0.7481 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.6538, allocations: 0.6275 MB / 0.7487 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.92e-05/0.6539, allocations: 67.69 kB / 0.7488 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.654, allocations: 89.52 kB / 0.7488 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006645/0.6546, allocations: 498.8 kB / 0.7493 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.6547, allocations: 0 / 0.7493 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6547, allocations: 0 / 0.7493 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.6547, allocations: 0 / 0.7493 GB, free: 5.629 MB / 0.5606 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.001088/0.6558, allocations: 0.6813 MB / 0.75 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.6558, allocations: 12.03 kB / 0.75 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.6559, allocations: 39.53 kB / 0.75 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.6568, allocations: 489 kB / 0.7505 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.6569, allocations: 16.33 kB / 0.7505 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.6569, allocations: 19.94 kB / 0.7505 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.6573, allocations: 180.2 kB / 0.7507 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.6573, allocations: 0 / 0.7507 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.6573, allocations: 4 kB / 0.7507 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.6573, allocations: 8 kB / 0.7507 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003349/0.6577, allocations: 152.1 kB / 0.7509 GB, free: 3.949 MB / 0.5606 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.001153/0.6588, allocations: 0.8607 MB / 0.7517 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.6591, allocations: 130.6 kB / 0.7518 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.6593, allocations: 80.75 kB / 0.7519 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/0.6596, allocations: 340.4 kB / 0.7522 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.6597, allocations: 42.56 kB / 0.7523 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.6597, allocations: 0 / 0.7523 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0005574/0.6602, allocations: 229.1 kB / 0.7525 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.6603, allocations: 51.41 kB / 0.7525 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.6607, allocations: 345.7 kB / 0.7529 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.6607, allocations: 29.7 kB / 0.7529 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.6609, allocations: 196.2 kB / 0.7531 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.6609, allocations: 39.39 kB / 0.7531 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.6609, allocations: 11.94 kB / 0.7531 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6611, allocations: 334.8 kB / 0.7535 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.6612, allocations: 59.95 kB / 0.7535 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.6614, allocations: 84.25 kB / 0.7536 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.6615, allocations: 63.91 kB / 0.7537 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6615, allocations: 0 / 0.7537 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003369/0.6618, allocations: 181.1 kB / 0.7538 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.6619, allocations: 105.8 kB / 0.7539 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.6619, allocations: 11.92 kB / 0.7539 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.662, allocations: 0 / 0.7539 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.6621, allocations: 23.98 kB / 0.754 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.6621, allocations: 4 kB / 0.754 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001981/0.6623, allocations: 27.97 kB / 0.754 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.6624, allocations: 8 kB / 0.754 GB, free: 476 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.991e-06/0.6624, allocations: 4 kB / 0.754 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002716/0.6626, allocations: 119.9 kB / 0.7541 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.6627, allocations: 0 / 0.7541 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.6627, allocations: 7.938 kB / 0.7541 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.6628, allocations: 27.92 kB / 0.7542 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.6628, allocations: 0 / 0.7542 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.663, allocations: 39.81 kB / 0.7542 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.663, allocations: 4 kB / 0.7542 GB, free: 272 kB / 0.5606 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.0001616/0.6632, allocations: 221.1 kB / 0.7544 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.6632, allocations: 35.62 kB / 0.7544 GB, free: 4 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.6637, allocations: 251.9 kB / 0.7547 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.6637, allocations: 4 kB / 0.7547 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6637, allocations: 0 / 0.7547 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.6637, allocations: 3.984 kB / 0.7547 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.6647, allocations: 0.6354 MB / 0.7553 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6647, allocations: 0 / 0.7553 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.6648, allocations: 39.86 kB / 0.7553 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6648, allocations: 0 / 0.7553 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6648, allocations: 4 kB / 0.7554 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6648, allocations: 3.953 kB / 0.7554 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.6649, allocations: 8.094 kB / 0.7554 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.6653, allocations: 333.5 kB / 0.7557 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.6654, allocations: 128.8 kB / 0.7558 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.6655, allocations: 8 kB / 0.7558 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.6657, allocations: 23.95 kB / 0.7558 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.6657, allocations: 19.94 kB / 0.7559 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.6658, allocations: 8 kB / 0.7559 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000246/0.666, allocations: 243.2 kB / 0.7561 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.666, allocations: 3.938 kB / 0.7561 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005986/0.6666, allocations: 191.6 kB / 0.7563 GB, free: 14.01 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.0005433/0.6672, allocations: 234.7 kB / 0.7565 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.6677, allocations: 191.9 kB / 0.7567 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6677, allocations: 4 kB / 0.7567 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.6679, allocations: 88 kB / 0.7568 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/0.6687, allocations: 153 kB / 0.7569 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009233/0.6696, allocations: 0.6908 MB / 0.7576 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.67, allocations: 0.796 MB / 0.7584 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002434/0.6702, allocations: 70.86 kB / 0.7584 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.6703, allocations: 31.42 kB / 0.7585 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.6703, allocations: 0 / 0.7585 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of Templates: time 0.01153/0.6819, allocations: 6.108 MB / 0.7644 GB, free: 5.703 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) Environment - environmentSimulation: