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.00105/0.00105, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001225/0.001225, allocations: 177.3 kB / 15.95 MB, free: 216 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.701/1.701, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.77/1.77, allocations: 251.9 MB / 0.51 GB, free: 4.824 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.0006407/0.0006407, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6355/0.6362, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0139/0.6501, allocations: 12.65 MB / 0.7403 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005986/0.6562, allocations: 3.262 MB / 0.7435 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006061/0.6568, allocations: 19.88 kB / 0.7435 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.6575, allocations: 183.1 kB / 0.7437 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.6596, allocations: 0.6465 MB / 0.7443 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.6614, allocations: 0.5085 MB / 0.7448 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00143/0.6628, allocations: 0.7339 MB / 0.7455 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.6633, allocations: 216.8 kB / 0.7458 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007025/0.664, allocations: 334.8 kB / 0.7461 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.6643, allocations: 179.2 kB / 0.7462 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.6643, allocations: 12 kB / 0.7463 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.6654, allocations: 0.5031 MB / 0.7467 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.6655, allocations: 63.73 kB / 0.7468 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.6656, allocations: 93.52 kB / 0.7469 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.6662, allocations: 439 kB / 0.7473 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6662, allocations: 0 / 0.7473 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6662, allocations: 7.875 kB / 0.7473 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.6662, allocations: 0 / 0.7473 GB, free: 7.539 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.001124/0.6673, allocations: 0.6734 MB / 0.748 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6674, allocations: 8.031 kB / 0.748 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.859e-05/0.6675, allocations: 47.5 kB / 0.748 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008189/0.6683, allocations: 417.2 kB / 0.7484 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.6683, allocations: 12.33 kB / 0.7484 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.6684, allocations: 23.94 kB / 0.7485 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.6688, allocations: 180.2 kB / 0.7486 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6688, allocations: 0 / 0.7486 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.6688, allocations: 8 kB / 0.7486 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6688, allocations: 4 kB / 0.7486 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.6691, allocations: 156.1 kB / 0.7488 GB, free: 5.93 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.00119/0.6703, allocations: 0.8763 MB / 0.7497 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.6707, allocations: 138.5 kB / 0.7498 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.671, allocations: 340.4 kB / 0.7501 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.671, allocations: 34.55 kB / 0.7501 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.671, allocations: 0 / 0.7501 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0005791/0.6716, allocations: 237.1 kB / 0.7504 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.6717, allocations: 51.41 kB / 0.7504 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.6721, allocations: 369.7 kB / 0.7508 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.6721, allocations: 29.7 kB / 0.7508 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.6722, allocations: 184.6 kB / 0.751 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-05/0.6723, allocations: 51.23 kB / 0.751 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.6723, allocations: 3.938 kB / 0.751 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6725, allocations: 350.8 kB / 0.7514 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.6726, allocations: 43.97 kB / 0.7514 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.6728, allocations: 96.25 kB / 0.7515 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.6729, allocations: 51.97 kB / 0.7515 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.6729, allocations: 3.984 kB / 0.7515 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003615/0.6733, allocations: 189.2 kB / 0.7517 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.581e-05/0.6734, allocations: 188.1 kB / 0.7519 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.6734, allocations: 4 kB / 0.7519 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6734, allocations: 0 / 0.7519 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6736, allocations: 28.08 kB / 0.7519 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.6736, allocations: 7.938 kB / 0.7519 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.6738, allocations: 27.88 kB / 0.752 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.6739, allocations: 11.98 kB / 0.752 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/0.6739, allocations: 4 kB / 0.752 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002803/0.6742, allocations: 115.9 kB / 0.7521 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.6742, allocations: 7.984 kB / 0.7521 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.6742, allocations: 0 / 0.7521 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6743, allocations: 31.92 kB / 0.7521 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/0.6743, allocations: 0 / 0.7521 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.6745, allocations: 39.86 kB / 0.7522 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.6745, allocations: 4 kB / 0.7522 GB, free: 2.195 MB / 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.0001551/0.6747, allocations: 221.1 kB / 0.7524 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.6748, allocations: 35.53 kB / 0.7524 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.6753, allocations: 249.2 kB / 0.7527 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.6753, allocations: 0 / 0.7527 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6753, allocations: 0 / 0.7527 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.6753, allocations: 3.953 kB / 0.7527 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000893/0.6762, allocations: 0.6517 MB / 0.7533 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6762, allocations: 0 / 0.7533 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.6763, allocations: 36.02 kB / 0.7533 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.6763, allocations: 0 / 0.7533 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.6764, allocations: 15.94 kB / 0.7534 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6764, allocations: 0 / 0.7534 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6764, allocations: 4 kB / 0.7534 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.6768, allocations: 362.6 kB / 0.7537 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.677, allocations: 128.7 kB / 0.7538 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.677, allocations: 12 kB / 0.7538 GB, free: 360 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.6773, allocations: 31.94 kB / 0.7539 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.6773, allocations: 7.984 kB / 0.7539 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6774, allocations: 8 kB / 0.7539 GB, free: 312 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003003/0.6777, allocations: 267.2 kB / 0.7541 GB, free: 48 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6777, allocations: 0 / 0.7541 GB, free: 48 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006705/0.6784, allocations: 195.8 kB / 0.7543 GB, free: 15.85 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.000607/0.679, allocations: 264.1 kB / 0.7546 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000519/0.6795, allocations: 199.8 kB / 0.7548 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.6795, allocations: 0 / 0.7548 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.6797, allocations: 91.89 kB / 0.7549 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007563/0.6805, allocations: 143.4 kB / 0.755 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.6814, allocations: 0.6913 MB / 0.7557 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.6818, allocations: 0.8077 MB / 0.7565 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.682, allocations: 71.02 kB / 0.7565 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.051e-05/0.6821, allocations: 35.42 kB / 0.7566 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.6821, allocations: 0 / 0.7566 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.01232/0.6945, allocations: 6.535 MB / 0.7629 GB, free: 7.082 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: