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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 2.009/2.009, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.001692/0.001692, allocations: 199 kB / 377.1 MB, free: 1.504 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.803/1.803, allocations: 205.4 MB / 0.6367 GB, free: 8.559 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.0009108/0.0009107, allocations: 84.36 kB / 0.751 GB, free: 62.83 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3383, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.918/2.257, allocations: 402.8 MB / 1.382 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/2.257, allocations: 88.56 kB / 1.382 GB, free: 249.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.3477/2.605, allocations: 168 MB / 1.546 GB, free: 173 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.665e-06/2.605, allocations: 0 / 1.546 GB, free: 173 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.074e-05/2.605, allocations: 15.98 kB / 1.546 GB, free: 173 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.001655/2.606, allocations: 0.7635 MB / 1.547 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/2.607, allocations: 8.031 kB / 1.547 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/2.607, allocations: 42.97 kB / 1.547 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02622/2.633, allocations: 13.75 MB / 1.56 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/2.633, allocations: 16.33 kB / 1.56 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.498e-05/2.633, allocations: 16 kB / 1.56 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/2.633, allocations: 185.8 kB / 1.56 GB, free: 158 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/2.633, allocations: 0 / 1.56 GB, free: 158 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/2.633, allocations: 4 kB / 1.56 GB, free: 158 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/2.633, allocations: 10.39 kB / 1.56 GB, free: 158 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/2.634, allocations: 144.2 kB / 1.56 GB, free: 157.8 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.001033/2.635, allocations: 0.8334 MB / 1.561 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/2.635, allocations: 114.6 kB / 1.561 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/2.635, allocations: 340.4 kB / 1.562 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/2.635, allocations: 38.5 kB / 1.562 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/2.635, allocations: 224 / 1.562 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12): time 0.0004992/2.636, allocations: 221 kB / 1.562 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/2.636, allocations: 53.16 kB / 1.562 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/2.636, allocations: 288.9 kB / 1.562 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/2.636, allocations: 29.7 kB / 1.562 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.834e-05/2.636, allocations: 188.4 kB / 1.563 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/2.636, allocations: 47.3 kB / 1.563 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/2.636, allocations: 4 kB / 1.563 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/2.636, allocations: 346.8 kB / 1.563 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/2.637, allocations: 39.97 kB / 1.563 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/2.637, allocations: 110.8 kB / 1.563 GB, free: 155 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/2.637, allocations: 55.91 kB / 1.563 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/2.637, allocations: 0 / 1.563 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002859/2.637, allocations: 173.2 kB / 1.563 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/2.637, allocations: 182 kB / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/2.637, allocations: 0 / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/2.637, allocations: 0 / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/2.637, allocations: 31.98 kB / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/2.637, allocations: 7.891 kB / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/2.638, allocations: 27.97 kB / 1.563 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/2.638, allocations: 8 kB / 1.564 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/2.638, allocations: 5.875 kB / 1.564 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000238/2.638, allocations: 116 kB / 1.564 GB, free: 154.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/2.638, allocations: 4.047 kB / 1.564 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-06/2.638, allocations: 3.984 kB / 1.564 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/2.638, allocations: 27.98 kB / 1.564 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/2.638, allocations: 4 kB / 1.564 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/2.638, allocations: 31.81 kB / 1.564 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/2.638, allocations: 8 kB / 1.564 GB, free: 154.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.0001361/2.638, allocations: 229 kB / 1.564 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/2.638, allocations: 35.53 kB / 1.564 GB, free: 154 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/2.639, allocations: 222.3 kB / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/2.639, allocations: 4 kB / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.639, allocations: 0 / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/2.639, allocations: 0 / 1.564 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006824/2.639, allocations: 0.617 MB / 1.565 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/2.64, allocations: 4 kB / 1.565 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/2.64, allocations: 23.98 kB / 1.565 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/2.64, allocations: 0 / 1.565 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/2.64, allocations: 11.92 kB / 1.565 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/2.64, allocations: 7.938 kB / 1.565 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/2.64, allocations: 4 kB / 1.565 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/2.64, allocations: 358.7 kB / 1.565 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/2.64, allocations: 116.7 kB / 1.565 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/2.64, allocations: 11.94 kB / 1.565 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/2.64, allocations: 27.83 kB / 1.565 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/2.64, allocations: 15.92 kB / 1.565 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/2.64, allocations: 8 kB / 1.565 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001707/2.641, allocations: 235.2 kB / 1.566 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/2.641, allocations: 0 / 1.566 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005698/2.641, allocations: 155.9 kB / 1.566 GB, free: 152.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.0005417/2.642, allocations: 287.4 kB / 1.566 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004188/2.642, allocations: 195.7 kB / 1.566 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/2.642, allocations: 0 / 1.566 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/2.642, allocations: 84.08 kB / 1.566 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/2.643, allocations: 138.1 kB / 1.566 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/2.644, allocations: 0.6832 MB / 1.567 GB, free: 150.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/2.644, allocations: 0.8038 MB / 1.568 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002371/2.644, allocations: 71.22 kB / 1.568 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.499e-05/2.644, allocations: 27.44 kB / 1.568 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of SimCode: time 5.91e-07/2.644, allocations: 0 / 1.568 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of Templates: time 0.01028/2.655, allocations: 6.269 MB / 1.574 GB, free: 143.6 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)