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 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.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.001028/0.001028, 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.4915/0.4915, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.572/1.572, allocations: 223.2 MB / 354.3 MB, free: 12.28 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.0009789/0.0009789, allocations: 107.1 kB / 427.4 MB, free: 3.992 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 15.94 kB / 0.4982 GB, free: 42.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 72.31 MB / 0.5689 GB, free: 1.992 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.67/4.831, allocations: 1.827 GB / 2.396 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004004/4.832, allocations: 87.95 kB / 2.396 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.676/7.507, allocations: 0.6869 GB / 3.083 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.747e-06/7.507, allocations: 0 / 3.083 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001145/7.508, allocations: 42.61 kB / 3.083 GB, free: 49.58 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.007848/7.515, allocations: 2.063 MB / 3.085 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/7.515, allocations: 8.031 kB / 3.085 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005814/7.521, allocations: 0.8722 MB / 3.086 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/7.526, allocations: 1.153 MB / 3.087 GB, free: 45.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.834e-05/7.526, allocations: 66 kB / 3.087 GB, free: 45.31 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/7.526, allocations: 88 kB / 3.087 GB, free: 45.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/7.53, allocations: 1.556 MB / 3.089 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/7.53, allocations: 4 kB / 3.089 GB, free: 43.63 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/7.53, allocations: 32 kB / 3.089 GB, free: 43.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/7.53, allocations: 37.98 kB / 3.089 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004353/7.534, allocations: 1.663 MB / 3.09 GB, free: 41.9 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.008798/7.543, allocations: 5.051 MB / 3.095 GB, free: 36.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/7.548, allocations: 1.635 MB / 3.097 GB, free: 34.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/7.549, allocations: 0.9452 MB / 3.098 GB, free: 33.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00239/7.551, allocations: 0.9729 MB / 3.099 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=95): time 5.37e-06/7.551, allocations: 0 / 3.099 GB, free: 32.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95): time 0.007974/7.559, allocations: 2.587 MB / 3.101 GB, free: 30.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/7.559, allocations: 64.41 kB / 3.101 GB, free: 30.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/7.561, allocations: 1.07 MB / 3.102 GB, free: 29.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001812/7.561, allocations: 45.7 kB / 3.103 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004844/7.562, allocations: 0.5448 MB / 3.103 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000372/7.562, allocations: 327.3 kB / 3.103 GB, free: 28.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/7.562, allocations: 16 kB / 3.103 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001343/7.563, allocations: 345.9 kB / 3.104 GB, free: 27.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/7.565, allocations: 0.7474 MB / 3.104 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002201/7.567, allocations: 0.9877 MB / 3.105 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/7.569, allocations: 0.7718 MB / 3.106 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/7.569, allocations: 0 / 3.106 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004984/7.574, allocations: 1.874 MB / 3.108 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/7.574, allocations: 12.81 kB / 3.108 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/7.574, allocations: 4 kB / 3.108 GB, free: 23.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/7.574, allocations: 8 kB / 3.108 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/7.576, allocations: 355.4 kB / 3.108 GB, free: 22.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/7.576, allocations: 8 kB / 3.108 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002123/7.578, allocations: 266.6 kB / 3.109 GB, free: 22.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/7.578, allocations: 55.95 kB / 3.109 GB, free: 22.67 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.0008296/7.579, allocations: 343.7 kB / 3.109 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/7.579, allocations: 134.3 kB / 3.109 GB, free: 22.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/7.584, allocations: 1.955 MB / 3.111 GB, free: 20.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/7.584, allocations: 8 kB / 3.111 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/7.584, allocations: 0 / 3.111 GB, free: 20.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/7.584, allocations: 7.984 kB / 3.111 GB, free: 20.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/7.591, allocations: 3.59 MB / 3.115 GB, free: 16.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/7.591, allocations: 8 kB / 3.115 GB, free: 16.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/7.593, allocations: 311.9 kB / 3.115 GB, free: 16.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.406e-05/7.593, allocations: 8 kB / 3.115 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/7.593, allocations: 39.95 kB / 3.115 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/7.593, allocations: 8 kB / 3.115 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/7.593, allocations: 7.938 kB / 3.115 GB, free: 16.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006981/7.6, allocations: 3.265 MB / 3.118 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/7.601, allocations: 371.1 kB / 3.118 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004674/7.602, allocations: 31.94 kB / 3.119 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/7.604, allocations: 179.8 kB / 3.119 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/7.604, allocations: 76.8 kB / 3.119 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/7.604, allocations: 43.97 kB / 3.119 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001208/7.605, allocations: 0.8275 MB / 3.12 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/7.605, allocations: 0 / 3.12 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002056/7.607, allocations: 0.5347 MB / 3.12 GB, free: 10.66 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.003446/7.611, allocations: 2.028 MB / 3.122 GB, free: 8.715 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00457/7.615, allocations: 1.731 MB / 3.124 GB, free: 6.988 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/7.615, allocations: 7.938 kB / 3.124 GB, free: 6.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/7.617, allocations: 0.8966 MB / 3.125 GB, free: 6.082 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/7.62, allocations: 0.5723 MB / 3.125 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/7.637, allocations: 4.2 MB / 3.129 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/7.638, allocations: 1.22 MB / 3.131 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002358/7.64, allocations: 401.8 kB / 3.131 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/7.641, allocations: 131.3 kB / 3.131 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.223e-06/7.641, allocations: 0 / 3.131 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.5015/8.142, allocations: 43.21 MB / 3.173 GB, free: 102.4 MB / 0.6198 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)