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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001423/0.001423, allocations: 173.2 kB / 16.76 MB, free: 4.945 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4794/0.4794, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.436/1.436, allocations: 223.3 MB / 348.4 MB, free: 5.035 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.0007697/0.0007697, allocations: 90.58 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003994, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.328, allocations: 71.02 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6235/0.9515, allocations: 363.7 MB / 0.9146 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.9518, allocations: 98.81 kB / 0.9147 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.5676/1.519, allocations: 170.9 MB / 1.082 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/1.519, allocations: 4 kB / 1.082 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.081e-05/1.519, allocations: 12 kB / 1.082 GB, free: 100.2 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.001169/1.521, allocations: 0.7514 MB / 1.082 GB, free: 99.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/1.521, allocations: 12.03 kB / 1.082 GB, free: 99.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/1.521, allocations: 44.47 kB / 1.082 GB, free: 99.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01972/1.541, allocations: 11.8 MB / 1.094 GB, free: 87.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/1.541, allocations: 20.64 kB / 1.094 GB, free: 87.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/1.541, allocations: 20.38 kB / 1.094 GB, free: 87.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/1.541, allocations: 176.7 kB / 1.094 GB, free: 87.17 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.541, allocations: 3.938 kB / 1.094 GB, free: 87.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/1.541, allocations: 8 kB / 1.094 GB, free: 87.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.541, allocations: 4 kB / 1.094 GB, free: 87.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/1.541, allocations: 144.2 kB / 1.094 GB, free: 87.01 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.001073/1.542, allocations: 0.8333 MB / 1.095 GB, free: 86.08 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/1.543, allocations: 110.6 kB / 1.095 GB, free: 85.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/1.543, allocations: 80.77 kB / 1.095 GB, free: 85.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002627/1.543, allocations: 336.4 kB / 1.096 GB, free: 85.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/1.543, allocations: 34.56 kB / 1.096 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 3.336e-06/1.543, allocations: 0 / 1.096 GB, free: 85.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005157/1.544, allocations: 221.1 kB / 1.096 GB, free: 85.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.544, allocations: 55.41 kB / 1.096 GB, free: 85.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/1.544, allocations: 329.7 kB / 1.096 GB, free: 84.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/1.544, allocations: 25.7 kB / 1.096 GB, free: 84.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.544, allocations: 200.2 kB / 1.096 GB, free: 84.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/1.544, allocations: 43.38 kB / 1.096 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/1.544, allocations: 4 kB / 1.096 GB, free: 84.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/1.544, allocations: 346.7 kB / 1.097 GB, free: 84.19 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/1.544, allocations: 47.91 kB / 1.097 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/1.545, allocations: 106.8 kB / 1.097 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/1.545, allocations: 113.6 kB / 1.097 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.545, allocations: 0 / 1.097 GB, free: 83.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002956/1.545, allocations: 177.1 kB / 1.097 GB, free: 83.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.545, allocations: 97.86 kB / 1.097 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.545, allocations: 4 kB / 1.097 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.545, allocations: 0 / 1.097 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/1.545, allocations: 31.92 kB / 1.097 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/1.545, allocations: 4 kB / 1.097 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/1.546, allocations: 27.97 kB / 1.097 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/1.546, allocations: 4 kB / 1.097 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-06/1.546, allocations: 4 kB / 1.097 GB, free: 83.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002542/1.546, allocations: 123.9 kB / 1.097 GB, free: 83.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-06/1.546, allocations: 7.938 kB / 1.098 GB, free: 83.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/1.546, allocations: 0 / 1.098 GB, free: 83.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.546, allocations: 27.98 kB / 1.098 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-06/1.546, allocations: 0 / 1.098 GB, free: 83.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/1.546, allocations: 31.81 kB / 1.098 GB, free: 83.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/1.546, allocations: 12 kB / 1.098 GB, free: 83.34 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.0001535/1.546, allocations: 229 kB / 1.098 GB, free: 83.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/1.546, allocations: 31.62 kB / 1.098 GB, free: 83.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/1.547, allocations: 232.5 kB / 1.098 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/1.547, allocations: 4 kB / 1.098 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.547, allocations: 96 / 1.098 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/1.547, allocations: 3.984 kB / 1.098 GB, free: 82.83 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/1.548, allocations: 0.61 MB / 1.099 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.548, allocations: 0 / 1.099 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/1.548, allocations: 27.98 kB / 1.099 GB, free: 82.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/1.548, allocations: 3.984 kB / 1.099 GB, free: 82.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.548, allocations: 4 kB / 1.099 GB, free: 82.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.548, allocations: 3.938 kB / 1.099 GB, free: 82.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.548, allocations: 0 / 1.099 GB, free: 82.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/1.548, allocations: 327 kB / 1.099 GB, free: 81.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/1.548, allocations: 116.6 kB / 1.099 GB, free: 81.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/1.548, allocations: 11.98 kB / 1.099 GB, free: 81.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000177/1.548, allocations: 23.92 kB / 1.099 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/1.548, allocations: 11.98 kB / 1.099 GB, free: 81.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/1.548, allocations: 12 kB / 1.099 GB, free: 81.58 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001709/1.549, allocations: 239.1 kB / 1.099 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/1.549, allocations: 0 / 1.099 GB, free: 81.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005491/1.549, allocations: 163.8 kB / 1.1 GB, free: 81.19 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.0004708/1.55, allocations: 284.7 kB / 1.1 GB, free: 80.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004132/1.55, allocations: 191.8 kB / 1.1 GB, free: 80.73 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.55, allocations: 0 / 1.1 GB, free: 80.73 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/1.55, allocations: 88.02 kB / 1.1 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007499/1.551, allocations: 138.1 kB / 1.1 GB, free: 80.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007518/1.552, allocations: 0.687 MB / 1.101 GB, free: 79.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/1.552, allocations: 0.7921 MB / 1.102 GB, free: 78.96 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002231/1.552, allocations: 79.38 kB / 1.102 GB, free: 78.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/1.552, allocations: 27.44 kB / 1.102 GB, free: 78.86 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/1.552, allocations: 0 / 1.102 GB, free: 78.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.009701/1.562, allocations: 6.4 MB / 1.108 GB, free: 72.55 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)