Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009282/0.000928, allocations: 172.1 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4465/0.4465, allocations: 86.28 MB / 103.8 MB, free: 14.55 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.389/1.389, allocations: 223.3 MB / 348.4 MB, free: 4.996 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.0007764/0.0007766, allocations: 96.58 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004268/0.000427, allocations: 16 kB / 0.4901 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3867, allocations: 71.02 MB / 0.5594 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.366/4.753, allocations: 1.826 GB / 2.385 GB, free: 235.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/4.753, allocations: 86.95 kB / 2.385 GB, free: 235.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.725/7.478, allocations: 0.6853 GB / 3.071 GB, free: 93.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.427e-06/7.478, allocations: 0 / 3.071 GB, free: 93.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001429/7.478, allocations: 46.23 kB / 3.071 GB, free: 93.85 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006622/7.484, allocations: 1.95 MB / 3.073 GB, free: 93.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.159e-05/7.485, allocations: 9.344 kB / 3.073 GB, free: 93.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005737/7.49, allocations: 0.8765 MB / 3.073 GB, free: 93.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/7.494, allocations: 1.159 MB / 3.075 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/7.494, allocations: 72.88 kB / 3.075 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/7.495, allocations: 97.41 kB / 3.075 GB, free: 92.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003817/7.498, allocations: 1.543 MB / 3.076 GB, free: 92.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/7.498, allocations: 8.062 kB / 3.076 GB, free: 92.77 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000118/7.499, allocations: 36.27 kB / 3.076 GB, free: 92.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.113e-05/7.499, allocations: 49.33 kB / 3.076 GB, free: 92.76 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004391/7.503, allocations: 1.791 MB / 3.078 GB, free: 92.76 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.007956/7.511, allocations: 4.797 MB / 3.083 GB, free: 90.97 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003779/7.515, allocations: 1.58 MB / 3.084 GB, free: 90.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/7.517, allocations: 0.8339 MB / 3.085 GB, free: 90.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/7.518, allocations: 0.9432 MB / 3.086 GB, free: 89.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/7.52, allocations: 0.8945 MB / 3.087 GB, free: 89.93 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 4.268e-06/7.52, allocations: 0 / 3.087 GB, free: 89.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.006962/7.527, allocations: 2.439 MB / 3.089 GB, free: 89.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/7.527, allocations: 60.16 kB / 3.089 GB, free: 89.74 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/7.529, allocations: 1.209 MB / 3.091 GB, free: 89.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001473/7.529, allocations: 51.08 kB / 3.091 GB, free: 89.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/7.529, allocations: 0.5604 MB / 3.091 GB, free: 89.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/7.53, allocations: 320.6 kB / 3.091 GB, free: 89.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/7.53, allocations: 19.72 kB / 3.091 GB, free: 89.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.817e-05/7.53, allocations: 343 kB / 3.092 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001757/7.532, allocations: 0.6876 MB / 3.092 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/7.534, allocations: 0.9596 MB / 3.093 GB, free: 88.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003843/7.538, allocations: 1.553 MB / 3.095 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/7.538, allocations: 1.156 kB / 3.095 GB, free: 88.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004621/7.543, allocations: 1.768 MB / 3.097 GB, free: 88.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/7.543, allocations: 7.125 kB / 3.097 GB, free: 88.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/7.543, allocations: 3.688 kB / 3.097 GB, free: 88.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.748e-05/7.543, allocations: 10.41 kB / 3.097 GB, free: 88.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/7.544, allocations: 335.9 kB / 3.097 GB, free: 88.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/7.544, allocations: 14.88 kB / 3.097 GB, free: 88.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/7.546, allocations: 267.5 kB / 3.097 GB, free: 88.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/7.546, allocations: 48.23 kB / 3.097 GB, free: 88.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0008044/7.547, allocations: 347.3 kB / 3.098 GB, free: 88.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/7.547, allocations: 135.2 kB / 3.098 GB, free: 88.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004797/7.552, allocations: 1.831 MB / 3.1 GB, free: 88.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.567e-05/7.552, allocations: 13.53 kB / 3.1 GB, free: 88.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/7.552, allocations: 0 / 3.1 GB, free: 88.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/7.552, allocations: 7.688 kB / 3.1 GB, free: 88.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007597/7.56, allocations: 3.413 MB / 3.103 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/7.56, allocations: 2.75 kB / 3.103 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/7.561, allocations: 295.3 kB / 3.103 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/7.561, allocations: 11.44 kB / 3.103 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.634e-05/7.562, allocations: 34.91 kB / 3.103 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/7.562, allocations: 12.38 kB / 3.103 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/7.562, allocations: 3.188 kB / 3.103 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006634/7.568, allocations: 2.867 MB / 3.106 GB, free: 87.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/7.569, allocations: 362.8 kB / 3.106 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/7.57, allocations: 27.5 kB / 3.106 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/7.571, allocations: 183.8 kB / 3.107 GB, free: 87.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/7.571, allocations: 76.08 kB / 3.107 GB, free: 87.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/7.571, allocations: 39.16 kB / 3.107 GB, free: 87.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001359/7.573, allocations: 0.8364 MB / 3.107 GB, free: 86.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.01e-07/7.573, allocations: 0 / 3.107 GB, free: 86.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002097/7.575, allocations: 0.519 MB / 3.108 GB, free: 86.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003964/7.579, allocations: 2.029 MB / 3.11 GB, free: 86.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004724/7.584, allocations: 1.619 MB / 3.112 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/7.584, allocations: 3.938 kB / 3.112 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/7.586, allocations: 0.8336 MB / 3.112 GB, free: 86.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003959/7.59, allocations: 0.6008 MB / 3.113 GB, free: 86.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/7.596, allocations: 3.441 MB / 3.116 GB, free: 85.12 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006531/7.597, allocations: 1.197 MB / 3.117 GB, free: 84.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001861/7.599, allocations: 378.7 kB / 3.118 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/7.599, allocations: 125.2 kB / 3.118 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of SimCode: time 1.052e-06/7.599, allocations: 0 / 3.118 GB, free: 84.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.06862/7.668, allocations: 43.39 MB / 3.16 GB, free: 82.4 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)