Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 293 MB / 309 MB, free: 4.828 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.001004/0.001004, allocations: 187.9 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.4 MB / 0.6383 GB, free: 8.113 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008576/0.0008577, allocations: 91.91 kB / 0.7527 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004962, allocations: 16 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3072, allocations: 116.4 MB / 0.9904 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.71/2.017, allocations: 402.9 MB / 1.384 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/2.018, allocations: 89.19 kB / 1.384 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3674/2.385, allocations: 167.1 MB / 1.547 GB, free: 191 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.539e-06/2.385, allocations: 0 / 1.547 GB, free: 191 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.423e-05/2.385, allocations: 15.94 kB / 1.547 GB, free: 190.9 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.001838/2.387, allocations: 0.7559 MB / 1.548 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/2.387, allocations: 12.02 kB / 1.548 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/2.387, allocations: 44.47 kB / 1.548 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02239/2.41, allocations: 11.6 MB / 1.559 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/2.41, allocations: 12.7 kB / 1.559 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/2.41, allocations: 16.38 kB / 1.559 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/2.41, allocations: 177.4 kB / 1.559 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/2.41, allocations: 3.938 kB / 1.56 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/2.41, allocations: 12 kB / 1.56 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/2.41, allocations: 4 kB / 1.56 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/2.411, allocations: 140.2 kB / 1.56 GB, free: 177.9 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.001509/2.412, allocations: 0.841 MB / 1.56 GB, free: 177 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/2.413, allocations: 114.7 kB / 1.561 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/2.413, allocations: 68.81 kB / 1.561 GB, free: 176.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/2.413, allocations: 336.4 kB / 1.561 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/2.413, allocations: 30.56 kB / 1.561 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 4.068e-06/2.413, allocations: 8 kB / 1.561 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0006266/2.414, allocations: 213.1 kB / 1.561 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/2.414, allocations: 55.41 kB / 1.561 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/2.414, allocations: 329.7 kB / 1.562 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/2.414, allocations: 33.7 kB / 1.562 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/2.414, allocations: 200.2 kB / 1.562 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/2.414, allocations: 35.45 kB / 1.562 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/2.414, allocations: 0 / 1.562 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000109/2.414, allocations: 346.8 kB / 1.562 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/2.415, allocations: 43.97 kB / 1.562 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/2.415, allocations: 99.27 kB / 1.562 GB, free: 175 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/2.415, allocations: 117.6 kB / 1.562 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/2.415, allocations: 0 / 1.562 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003448/2.415, allocations: 181.2 kB / 1.563 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/2.415, allocations: 101.8 kB / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/2.415, allocations: 0 / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/2.415, allocations: 4 kB / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/2.416, allocations: 35.84 kB / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/2.416, allocations: 0 / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/2.416, allocations: 35.83 kB / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/2.416, allocations: 11.98 kB / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/2.416, allocations: 6.188 kB / 1.563 GB, free: 174.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002545/2.416, allocations: 111.9 kB / 1.563 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/2.416, allocations: 0 / 1.563 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-06/2.416, allocations: 0 / 1.563 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/2.416, allocations: 31.97 kB / 1.563 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/2.416, allocations: 11.92 kB / 1.563 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/2.417, allocations: 35.83 kB / 1.563 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/2.417, allocations: 4 kB / 1.563 GB, free: 174.3 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.0001896/2.417, allocations: 221 kB / 1.563 GB, free: 174 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/2.417, allocations: 39.62 kB / 1.563 GB, free: 174 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/2.417, allocations: 222.7 kB / 1.563 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/2.417, allocations: 4.172 kB / 1.563 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/2.417, allocations: 7.938 kB / 1.563 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/2.417, allocations: 3.938 kB / 1.563 GB, free: 173.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/2.418, allocations: 0.6118 MB / 1.564 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/2.418, allocations: 3.984 kB / 1.564 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.851e-05/2.418, allocations: 27.92 kB / 1.564 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/2.418, allocations: 4.094 kB / 1.564 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/2.418, allocations: 8 kB / 1.564 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/2.418, allocations: 7.938 kB / 1.564 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/2.418, allocations: 0 / 1.564 GB, free: 173 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/2.419, allocations: 317.5 kB / 1.564 GB, free: 172.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/2.419, allocations: 124.5 kB / 1.565 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/2.419, allocations: 8 kB / 1.565 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/2.419, allocations: 23.92 kB / 1.565 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/2.419, allocations: 15.98 kB / 1.565 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/2.419, allocations: 7.984 kB / 1.565 GB, free: 172.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.000198/2.419, allocations: 231.2 kB / 1.565 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.5e-07/2.419, allocations: 0 / 1.565 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006381/2.42, allocations: 167.8 kB / 1.565 GB, free: 172.1 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.0006598/2.421, allocations: 269.8 kB / 1.565 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004446/2.421, allocations: 195.9 kB / 1.565 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/2.421, allocations: 0 / 1.565 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/2.421, allocations: 80.09 kB / 1.565 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/2.422, allocations: 150.6 kB / 1.566 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/2.423, allocations: 0.6715 MB / 1.566 GB, free: 170.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/2.423, allocations: 0.796 MB / 1.567 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002966/2.424, allocations: 79.31 kB / 1.567 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/2.424, allocations: 31.38 kB / 1.567 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of SimCode: time 5.81e-07/2.424, allocations: 0 / 1.567 GB, free: 169.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.01266/2.436, allocations: 6.391 MB / 1.573 GB, free: 163.5 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)