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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 252 MB / 267.9 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 178.5 kB / 327.5 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008394/0.0008397, allocations: 95.5 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003661, allocations: 14.22 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2073, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8128/1.02, allocations: 394.3 MB / 1.286 GB, free: 5.172 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/1.021, allocations: 89.2 kB / 1.286 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.7182/1.739, allocations: 162.4 MB / 1.445 GB, free: 291.4 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.685e-06/1.739, allocations: 0 / 1.445 GB, free: 291.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.471e-05/1.739, allocations: 18.41 kB / 1.445 GB, free: 291.4 MB / 0.8855 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.001185/1.74, allocations: 0.7518 MB / 1.446 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/1.74, allocations: 7.719 kB / 1.446 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/1.74, allocations: 45.84 kB / 1.446 GB, free: 290.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01855/1.759, allocations: 11.26 MB / 1.457 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/1.759, allocations: 18.39 kB / 1.457 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/1.759, allocations: 18.5 kB / 1.457 GB, free: 290 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003451/1.759, allocations: 178.9 kB / 1.457 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/1.759, allocations: 3.938 kB / 1.457 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.759, allocations: 6.5 kB / 1.457 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.759, allocations: 7.219 kB / 1.457 GB, free: 289.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/1.76, allocations: 139.3 kB / 1.457 GB, free: 289.9 MB / 0.8855 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.001013/1.761, allocations: 0.834 MB / 1.458 GB, free: 289.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/1.761, allocations: 119.5 kB / 1.458 GB, free: 289.4 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/1.761, allocations: 66.3 kB / 1.458 GB, free: 289.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/1.761, allocations: 341.3 kB / 1.458 GB, free: 289 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.761, allocations: 36.16 kB / 1.458 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 2.926e-06/1.761, allocations: 3.938 kB / 1.458 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0004845/1.762, allocations: 220.7 kB / 1.459 GB, free: 288.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/1.762, allocations: 55.72 kB / 1.459 GB, free: 288.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/1.762, allocations: 330.9 kB / 1.459 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/1.762, allocations: 29.14 kB / 1.459 GB, free: 288.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/1.762, allocations: 187.8 kB / 1.459 GB, free: 288.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/1.762, allocations: 45.59 kB / 1.459 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/1.762, allocations: 2.906 kB / 1.459 GB, free: 288.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.536e-05/1.762, allocations: 349.8 kB / 1.46 GB, free: 288.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/1.762, allocations: 44.11 kB / 1.46 GB, free: 288.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/1.763, allocations: 103.9 kB / 1.46 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/1.763, allocations: 115.2 kB / 1.46 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.763, allocations: 0 / 1.46 GB, free: 288.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003016/1.763, allocations: 176 kB / 1.46 GB, free: 288 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.763, allocations: 104.7 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.763, allocations: 3.875 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.763, allocations: 2.875 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/1.763, allocations: 36.58 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.763, allocations: 3.844 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/1.764, allocations: 26.33 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/1.764, allocations: 11.12 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/1.764, allocations: 3.375 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000233/1.764, allocations: 114.8 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/1.764, allocations: 0 / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-06/1.764, allocations: 2.938 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/1.764, allocations: 24.58 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-06/1.764, allocations: 0 / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/1.764, allocations: 35.61 kB / 1.46 GB, free: 287.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/1.764, allocations: 6.578 kB / 1.46 GB, free: 287.9 MB / 0.8855 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.0001311/1.764, allocations: 229.2 kB / 1.461 GB, free: 287.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/1.764, allocations: 36.91 kB / 1.461 GB, free: 287.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003939/1.765, allocations: 226.1 kB / 1.461 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.765, allocations: 3.438 kB / 1.461 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.765, allocations: 3.281 kB / 1.461 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.765, allocations: 3.328 kB / 1.461 GB, free: 287.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/1.765, allocations: 0.6105 MB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.766, allocations: 3.938 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.539e-05/1.766, allocations: 32.98 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/1.766, allocations: 0 / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/1.766, allocations: 7.656 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.766, allocations: 7.125 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.766, allocations: 3.625 kB / 1.462 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/1.766, allocations: 324.8 kB / 1.462 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/1.766, allocations: 118.9 kB / 1.462 GB, free: 286.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/1.766, allocations: 4 kB / 1.462 GB, free: 286.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/1.766, allocations: 41.06 kB / 1.462 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/1.766, allocations: 11.53 kB / 1.462 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.766, allocations: 10.72 kB / 1.462 GB, free: 286.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001824/1.767, allocations: 233.1 kB / 1.462 GB, free: 286.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/1.767, allocations: 0 / 1.462 GB, free: 286.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005616/1.767, allocations: 163.4 kB / 1.462 GB, free: 286.6 MB / 0.8855 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.0005352/1.768, allocations: 274.8 kB / 1.463 GB, free: 286.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004211/1.768, allocations: 196.8 kB / 1.463 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.768, allocations: 0 / 1.463 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.768, allocations: 81.62 kB / 1.463 GB, free: 286.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007423/1.769, allocations: 144.5 kB / 1.463 GB, free: 286.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007527/1.77, allocations: 0.6669 MB / 1.464 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/1.77, allocations: 0.7944 MB / 1.465 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002465/1.77, allocations: 69.91 kB / 1.465 GB, free: 285 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/1.77, allocations: 35.88 kB / 1.465 GB, free: 285 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/1.77, allocations: 0 / 1.465 GB, free: 285 MB / 0.8855 GB Notification: Performance of Templates: time 0.01243/1.783, allocations: 6.415 MB / 1.471 GB, free: 282 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (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)