Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5269/0.5269, allocations: 91.99 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.806/1.806, allocations: 223.2 MB / 354.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001175, allocations: 96.22 kB / 427.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003611, allocations: 8 kB / 0.4982 GB, free: 42.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 72.32 MB / 0.5689 GB, free: 1.883 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.397/1.59, allocations: 365.4 MB / 0.9257 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/1.591, allocations: 88.64 kB / 0.9258 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.8684/2.459, allocations: 172.1 MB / 1.094 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/2.459, allocations: 0 / 1.094 GB, free: 173.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.977e-05/2.459, allocations: 11.03 kB / 1.094 GB, free: 173.3 MB / 0.6042 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.002253/2.461, allocations: 0.7654 MB / 1.095 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/2.461, allocations: 7.625 kB / 1.095 GB, free: 172.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/2.462, allocations: 46.41 kB / 1.095 GB, free: 172.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0362/2.498, allocations: 14.72 MB / 1.109 GB, free: 167.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/2.498, allocations: 11.27 kB / 1.109 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/2.498, allocations: 18.69 kB / 1.109 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/2.498, allocations: 182.5 kB / 1.109 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/2.499, allocations: 0 / 1.109 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/2.499, allocations: 11.94 kB / 1.109 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/2.499, allocations: 10 kB / 1.109 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003381/2.499, allocations: 140.6 kB / 1.109 GB, free: 167.5 MB / 0.6042 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.00139/2.5, allocations: 0.8331 MB / 1.11 GB, free: 166.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/2.501, allocations: 121.1 kB / 1.11 GB, free: 166.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/2.501, allocations: 336.8 kB / 1.111 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/2.501, allocations: 42.23 kB / 1.111 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.464e-06/2.501, allocations: 0 / 1.111 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005983/2.502, allocations: 210.1 kB / 1.111 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/2.502, allocations: 59.41 kB / 1.111 GB, free: 166 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/2.502, allocations: 296.1 kB / 1.111 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/2.502, allocations: 29.7 kB / 1.111 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/2.502, allocations: 194.2 kB / 1.111 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/2.502, allocations: 38.55 kB / 1.111 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-06/2.502, allocations: 2.469 kB / 1.111 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/2.502, allocations: 346.4 kB / 1.112 GB, free: 165.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/2.502, allocations: 43.69 kB / 1.112 GB, free: 165.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/2.503, allocations: 102.7 kB / 1.112 GB, free: 165.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/2.503, allocations: 51.22 kB / 1.112 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/2.503, allocations: 3.969 kB / 1.112 GB, free: 165.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003659/2.503, allocations: 179.8 kB / 1.112 GB, free: 165 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/2.503, allocations: 181.6 kB / 1.112 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/2.503, allocations: 0 / 1.112 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/2.503, allocations: 5.812 kB / 1.112 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/2.503, allocations: 25.67 kB / 1.112 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/2.503, allocations: 0 / 1.112 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/2.504, allocations: 38.03 kB / 1.112 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/2.504, allocations: 7.125 kB / 1.112 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/2.504, allocations: 5.219 kB / 1.112 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002716/2.504, allocations: 120 kB / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/2.504, allocations: 0 / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/2.504, allocations: 0 / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/2.504, allocations: 27.11 kB / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/2.504, allocations: 0 / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/2.504, allocations: 32.69 kB / 1.113 GB, free: 164.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/2.504, allocations: 3.938 kB / 1.113 GB, free: 164.8 MB / 0.6042 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.0001846/2.505, allocations: 232.5 kB / 1.113 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/2.505, allocations: 35.34 kB / 1.113 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004798/2.505, allocations: 231.2 kB / 1.113 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/2.505, allocations: 0 / 1.113 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/2.505, allocations: 11.31 kB / 1.113 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/2.505, allocations: 0 / 1.113 GB, free: 164.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/2.506, allocations: 0.6139 MB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/2.506, allocations: 0 / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/2.506, allocations: 26.95 kB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/2.506, allocations: 0 / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/2.506, allocations: 11.89 kB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/2.506, allocations: 0 / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/2.506, allocations: 8.766 kB / 1.114 GB, free: 163.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/2.507, allocations: 357.8 kB / 1.114 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/2.507, allocations: 124.3 kB / 1.114 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/2.507, allocations: 7.938 kB / 1.114 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/2.507, allocations: 22.22 kB / 1.114 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/2.507, allocations: 14.55 kB / 1.114 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/2.507, allocations: 7.75 kB / 1.114 GB, free: 163.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002362/2.507, allocations: 232.3 kB / 1.114 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.1e-07/2.507, allocations: 3.938 kB / 1.114 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007422/2.508, allocations: 159.6 kB / 1.115 GB, free: 163.2 MB / 0.6042 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.0008165/2.509, allocations: 282.6 kB / 1.115 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005496/2.51, allocations: 195.4 kB / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/2.51, allocations: 0 / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/2.51, allocations: 81.45 kB / 1.115 GB, free: 163 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/2.511, allocations: 146.2 kB / 1.115 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/2.512, allocations: 0.6756 MB / 1.116 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/2.512, allocations: 0.8036 MB / 1.117 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003612/2.513, allocations: 64.92 kB / 1.117 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/2.513, allocations: 37.98 kB / 1.117 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/2.513, allocations: 4 kB / 1.117 GB, free: 161.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.01463/2.528, allocations: 6.268 MB / 1.123 GB, free: 158.6 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)