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 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_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.001151/0.001151, allocations: 172.8 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.478/0.478, allocations: 86.27 MB / 103.8 MB, free: 14.54 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.486/1.486, allocations: 223.3 MB / 348.4 MB, free: 4.965 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.0007732/0.0007732, allocations: 96.89 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 12 kB / 0.4901 GB, free: 8.012 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4169, allocations: 71.02 MB / 0.5595 GB, free: 43.8 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.218/5.635, allocations: 2.11 GB / 2.67 GB, free: 181.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002421/5.636, allocations: 87.95 kB / 2.67 GB, free: 181.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.872/7.508, allocations: 0.5988 GB / 3.268 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/7.508, allocations: 0 / 3.268 GB, free: 49.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001605/7.508, allocations: 39.92 kB / 3.269 GB, free: 49.09 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.003649/7.511, allocations: 1.524 MB / 3.27 GB, free: 47.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/7.511, allocations: 12.03 kB / 3.27 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002909/7.514, allocations: 0.5807 MB / 3.271 GB, free: 46.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/7.517, allocations: 0.9737 MB / 3.272 GB, free: 45.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.047e-05/7.517, allocations: 66.36 kB / 3.272 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/7.517, allocations: 80.28 kB / 3.272 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/7.519, allocations: 1.1 MB / 3.273 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/7.519, allocations: 0 / 3.273 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/7.519, allocations: 31.98 kB / 3.273 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/7.519, allocations: 20 kB / 3.273 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/7.522, allocations: 1.008 MB / 3.274 GB, free: 43.51 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.005177/7.527, allocations: 4.976 MB / 3.279 GB, free: 38.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/7.529, allocations: 0.9537 MB / 3.28 GB, free: 37.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/7.531, allocations: 491.1 kB / 3.28 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009242/7.532, allocations: 1.595 MB / 3.282 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/7.533, allocations: 0.5768 MB / 3.282 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 3.166e-06/7.533, allocations: 0 / 3.282 GB, free: 34.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.003934/7.537, allocations: 1.512 MB / 3.284 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/7.537, allocations: 59.97 kB / 3.284 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/7.538, allocations: 1.125 MB / 3.285 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-05/7.538, allocations: 41.7 kB / 3.285 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003679/7.539, allocations: 0.5551 MB / 3.285 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/7.539, allocations: 213 kB / 3.286 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.112e-05/7.539, allocations: 16 kB / 3.286 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/7.539, allocations: 334 kB / 3.286 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/7.54, allocations: 457.6 kB / 3.286 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/7.541, allocations: 0.7776 MB / 3.287 GB, free: 29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/7.544, allocations: 1.136 MB / 3.288 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/7.544, allocations: 7.938 kB / 3.288 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002997/7.547, allocations: 1.275 MB / 3.289 GB, free: 26.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/7.547, allocations: 12.06 kB / 3.289 GB, free: 26.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/7.547, allocations: 15.98 kB / 3.289 GB, free: 26.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/7.547, allocations: 12 kB / 3.29 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/7.548, allocations: 275.6 kB / 3.29 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/7.548, allocations: 19.88 kB / 3.29 GB, free: 26.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/7.55, allocations: 215 kB / 3.29 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/7.55, allocations: 51.97 kB / 3.29 GB, free: 25.88 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 () * Number of clocked 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.0005354/7.55, allocations: 287.8 kB / 3.29 GB, free: 25.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/7.551, allocations: 130.4 kB / 3.29 GB, free: 25.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/7.554, allocations: 1.425 MB / 3.292 GB, free: 24.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/7.554, allocations: 15.98 kB / 3.292 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/7.554, allocations: 0 / 3.292 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/7.554, allocations: 3.984 kB / 3.292 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004838/7.559, allocations: 2.503 MB / 3.294 GB, free: 21.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/7.559, allocations: 7.25 kB / 3.294 GB, free: 21.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000925/7.56, allocations: 200 kB / 3.294 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/7.56, allocations: 4 kB / 3.295 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/7.56, allocations: 27.97 kB / 3.295 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/7.56, allocations: 7.938 kB / 3.295 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/7.56, allocations: 0 / 3.295 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/7.565, allocations: 2.048 MB / 3.297 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/7.565, allocations: 311.2 kB / 3.297 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/7.565, allocations: 20 kB / 3.297 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009873/7.566, allocations: 127.9 kB / 3.297 GB, free: 18.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/7.567, allocations: 56.44 kB / 3.297 GB, free: 18.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/7.567, allocations: 31.97 kB / 3.297 GB, free: 18.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001428/7.568, allocations: 0.7681 MB / 3.298 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/7.568, allocations: 0 / 3.298 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001786/7.57, allocations: 399.6 kB / 3.298 GB, free: 17.39 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) * Number of clocked states: 0 () * 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.002206/7.572, allocations: 0.8087 MB / 3.299 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003909/7.576, allocations: 1.143 MB / 3.3 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/7.576, allocations: 0 / 3.3 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001902/7.578, allocations: 0.6009 MB / 3.301 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/7.581, allocations: 437 kB / 3.301 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005365/7.587, allocations: 2.762 MB / 3.304 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006311/7.587, allocations: 1.116 MB / 3.305 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001213/7.589, allocations: 260.6 kB / 3.305 GB, free: 10.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003629/7.589, allocations: 115.4 kB / 3.305 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of SimCode: time 7.92e-07/7.589, allocations: 0 / 3.305 GB, free: 10.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.3056/7.895, allocations: 21.7 MB / 3.326 GB, free: 112.8 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)