Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4826/0.4826, allocations: 90.8 MB / 104.5 MB, free: 13.92 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.378/1.378, allocations: 221.3 MB / 348.3 MB, free: 12.54 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.000877/0.0008771, allocations: 101.9 kB / 421.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.854e-05, allocations: 4 kB / 0.4896 GB, free: 46.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 72.31 MB / 0.5602 GB, free: 6.379 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.298/5.423, allocations: 2.112 GB / 2.672 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/5.423, allocations: 83.69 kB / 2.672 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.858/7.281, allocations: 0.6001 GB / 3.272 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/7.281, allocations: 1.938 kB / 3.272 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001502/7.281, allocations: 37.47 kB / 3.272 GB, free: 83.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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003242/7.284, allocations: 1.339 MB / 3.273 GB, free: 81.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/7.285, allocations: 11.98 kB / 3.273 GB, free: 81.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002957/7.288, allocations: 0.5786 MB / 3.274 GB, free: 81.27 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/7.29, allocations: 0.9143 MB / 3.275 GB, free: 80.33 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/7.29, allocations: 60.5 kB / 3.275 GB, free: 80.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/7.29, allocations: 68 kB / 3.275 GB, free: 80.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/7.292, allocations: 0.916 MB / 3.276 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/7.292, allocations: 3.5 kB / 3.276 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.429e-05/7.292, allocations: 28 kB / 3.276 GB, free: 79.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/7.292, allocations: 33.3 kB / 3.276 GB, free: 79.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/7.293, allocations: 0.6335 MB / 3.276 GB, free: 78.53 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004988/7.298, allocations: 4.962 MB / 3.281 GB, free: 73.37 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/7.299, allocations: 0.5842 MB / 3.282 GB, free: 72.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/7.299, allocations: 307 kB / 3.282 GB, free: 72.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009625/7.3, allocations: 1.595 MB / 3.284 GB, free: 70.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/7.301, allocations: 404.7 kB / 3.284 GB, free: 70.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.026e-06/7.301, allocations: 0 / 3.284 GB, free: 70.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.001246/7.302, allocations: 0.7085 MB / 3.285 GB, free: 69.42 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/7.302, allocations: 67.17 kB / 3.285 GB, free: 69.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/7.303, allocations: 0.9748 MB / 3.286 GB, free: 68.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/7.303, allocations: 41.7 kB / 3.286 GB, free: 68.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/7.304, allocations: 0.5426 MB / 3.286 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001399/7.304, allocations: 210.4 kB / 3.287 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/7.304, allocations: 16 kB / 3.287 GB, free: 67.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.164e-05/7.304, allocations: 334 kB / 3.287 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/7.304, allocations: 268.6 kB / 3.287 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/7.305, allocations: 0.5631 MB / 3.288 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/7.305, allocations: 312.2 kB / 3.288 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/7.305, allocations: 4 kB / 3.288 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001394/7.307, allocations: 0.915 MB / 3.289 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/7.307, allocations: 18.58 kB / 3.289 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/7.307, allocations: 6.031 kB / 3.289 GB, free: 65.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/7.307, allocations: 16 kB / 3.289 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/7.308, allocations: 277.1 kB / 3.289 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/7.308, allocations: 11.94 kB / 3.289 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/7.309, allocations: 216.6 kB / 3.289 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/7.309, allocations: 55.91 kB / 3.29 GB, free: 64.48 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0001895/7.31, allocations: 159 kB / 3.29 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/7.31, allocations: 118.5 kB / 3.29 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/7.311, allocations: 1.054 MB / 3.291 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/7.311, allocations: 15.98 kB / 3.291 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/7.311, allocations: 0 / 3.291 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/7.311, allocations: 3.984 kB / 3.291 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/7.314, allocations: 2.121 MB / 3.293 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/7.314, allocations: 0 / 3.293 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009502/7.315, allocations: 203.9 kB / 3.293 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/7.315, allocations: 7.938 kB / 3.293 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/7.315, allocations: 31.97 kB / 3.293 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.83e-06/7.315, allocations: 4 kB / 3.293 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/7.315, allocations: 3.938 kB / 3.293 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/7.317, allocations: 1.564 MB / 3.295 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/7.318, allocations: 303.3 kB / 3.295 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/7.318, allocations: 23.81 kB / 3.295 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009785/7.319, allocations: 127.9 kB / 3.295 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/7.319, allocations: 64.38 kB / 3.295 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/7.319, allocations: 35.97 kB / 3.295 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000818/7.32, allocations: 0.7457 MB / 3.296 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/7.32, allocations: 0 / 3.296 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001193/7.321, allocations: 395.5 kB / 3.296 GB, free: 57.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001615/7.323, allocations: 0.7734 MB / 3.297 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001187/7.324, allocations: 0.7649 MB / 3.298 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/7.324, allocations: 4 kB / 3.298 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005494/7.324, allocations: 420 kB / 3.298 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/7.326, allocations: 412.4 kB / 3.299 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/7.33, allocations: 1.81 MB / 3.3 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/7.33, allocations: 1.137 MB / 3.301 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009907/7.331, allocations: 261.8 kB / 3.302 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/7.331, allocations: 109.2 kB / 3.302 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/7.331, allocations: 0 / 3.302 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of Templates: time 0.02799/7.359, allocations: 21.36 MB / 3.323 GB, free: 31.03 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)