Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.521/2.521, allocations: 287.5 MB / 303.2 MB, free: 8.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 184.5 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009315/0.0009312, allocations: 88.25 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004722, allocations: 12.7 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.217, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.472, allocations: 401.7 MB / 1.372 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/1.473, allocations: 89.27 kB / 1.372 GB, free: 12.72 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.187/2.659, allocations: 167.1 MB / 1.535 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.913e-06/2.659, allocations: 0 / 1.535 GB, free: 256.7 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.968e-05/2.659, allocations: 7.984 kB / 1.535 GB, free: 256.6 MB / 0.9323 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.001595/2.661, allocations: 0.7606 MB / 1.536 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/2.661, allocations: 12.03 kB / 1.536 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/2.661, allocations: 44.47 kB / 1.536 GB, free: 255.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03301/2.694, allocations: 11.6 MB / 1.547 GB, free: 244 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/2.694, allocations: 16.64 kB / 1.547 GB, free: 244 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.638e-05/2.694, allocations: 20.38 kB / 1.547 GB, free: 244 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/2.695, allocations: 172.8 kB / 1.547 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/2.695, allocations: 3.938 kB / 1.547 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/2.695, allocations: 8 kB / 1.547 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/2.695, allocations: 7.984 kB / 1.547 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/2.695, allocations: 144.1 kB / 1.547 GB, free: 243.6 MB / 0.9323 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.001376/2.697, allocations: 0.8333 MB / 1.548 GB, free: 242.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/2.697, allocations: 114.6 kB / 1.548 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/2.697, allocations: 76.81 kB / 1.548 GB, free: 242.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/2.698, allocations: 336.4 kB / 1.549 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/2.698, allocations: 30.56 kB / 1.549 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 2.685e-06/2.698, allocations: 0 / 1.549 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0008169/2.699, allocations: 217.2 kB / 1.549 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/2.699, allocations: 51.41 kB / 1.549 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/2.699, allocations: 333.7 kB / 1.549 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/2.699, allocations: 33.7 kB / 1.549 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/2.699, allocations: 200.2 kB / 1.549 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/2.699, allocations: 39.45 kB / 1.55 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/2.699, allocations: 0 / 1.55 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/2.699, allocations: 350.8 kB / 1.55 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/2.7, allocations: 39.97 kB / 1.55 GB, free: 240.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/2.7, allocations: 106.8 kB / 1.55 GB, free: 240.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/2.7, allocations: 121.6 kB / 1.55 GB, free: 240.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.7, allocations: 0 / 1.55 GB, free: 240.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005206/2.701, allocations: 169.2 kB / 1.55 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/2.701, allocations: 105.9 kB / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/2.701, allocations: 0 / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/2.701, allocations: 0 / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/2.701, allocations: 35.91 kB / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/2.701, allocations: 0 / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/2.702, allocations: 35.83 kB / 1.55 GB, free: 240.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/2.702, allocations: 11.92 kB / 1.55 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/2.702, allocations: 4.938 kB / 1.55 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004223/2.702, allocations: 107.9 kB / 1.551 GB, free: 240 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/2.702, allocations: 11.94 kB / 1.551 GB, free: 240 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/2.702, allocations: 0 / 1.551 GB, free: 240 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/2.702, allocations: 27.97 kB / 1.551 GB, free: 240 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/2.702, allocations: 4 kB / 1.551 GB, free: 240 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003158/2.703, allocations: 31.83 kB / 1.551 GB, free: 240 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/2.703, allocations: 15.97 kB / 1.551 GB, free: 239.9 MB / 0.9323 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.0002138/2.703, allocations: 221 kB / 1.551 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/2.703, allocations: 35.61 kB / 1.551 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/2.704, allocations: 232.8 kB / 1.551 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/2.704, allocations: 0 / 1.551 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/2.704, allocations: 0 / 1.551 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/2.704, allocations: 3.984 kB / 1.551 GB, free: 239.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/2.705, allocations: 0.6074 MB / 1.552 GB, free: 238.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/2.705, allocations: 4 kB / 1.552 GB, free: 238.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/2.705, allocations: 23.98 kB / 1.552 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/2.705, allocations: 0 / 1.552 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/2.705, allocations: 8 kB / 1.552 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/2.705, allocations: 7.875 kB / 1.552 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.705, allocations: 4 kB / 1.552 GB, free: 238.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/2.706, allocations: 323 kB / 1.552 GB, free: 238.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/2.706, allocations: 120.6 kB / 1.552 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/2.706, allocations: 4 kB / 1.552 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/2.706, allocations: 23.92 kB / 1.552 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/2.706, allocations: 15.98 kB / 1.552 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/2.706, allocations: 19.92 kB / 1.552 GB, free: 238.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002932/2.707, allocations: 231.1 kB / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.4e-07/2.707, allocations: 4 kB / 1.552 GB, free: 238 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007867/2.707, allocations: 163.8 kB / 1.553 GB, free: 237.8 MB / 0.9323 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.0006339/2.708, allocations: 272.5 kB / 1.553 GB, free: 237.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007294/2.709, allocations: 195.8 kB / 1.553 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/2.709, allocations: 0 / 1.553 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002532/2.709, allocations: 80.08 kB / 1.553 GB, free: 237.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/2.711, allocations: 141.8 kB / 1.553 GB, free: 237.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/2.712, allocations: 0.6855 MB / 1.554 GB, free: 236.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/2.712, allocations: 0.796 MB / 1.555 GB, free: 235.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004174/2.712, allocations: 75.52 kB / 1.555 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/2.712, allocations: 27.44 kB / 1.555 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/2.712, allocations: 0 / 1.555 GB, free: 235.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.01759/2.73, allocations: 6.301 MB / 1.561 GB, free: 229.3 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)