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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009939/0.000994, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 175.5 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6969/0.6969, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004335, allocations: 8 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1411, allocations: 77.53 MB / 0.5593 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.2718/0.4129, allocations: 26.89 MB / 0.5856 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008858/0.4218, allocations: 6.471 MB / 0.5919 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.4231, allocations: 39.22 kB / 0.5919 GB, free: 11.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.4246, allocations: 0.559 MB / 0.5925 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.4281, allocations: 1.184 MB / 0.5936 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.4309, allocations: 0.9286 MB / 0.5946 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003768/0.4347, allocations: 2.761 MB / 0.5972 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.4359, allocations: 0.6504 MB / 0.5979 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.4378, allocations: 0.8904 MB / 0.5988 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.4391, allocations: 0.763 MB / 0.5995 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.4393, allocations: 35.41 kB / 0.5995 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.441, allocations: 0.4897 MB / 0.6 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002979/0.4413, allocations: 242.6 kB / 0.6002 GB, free: 9.965 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.4416, allocations: 230.5 kB / 0.6005 GB, free: 9.895 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.4431, allocations: 1.02 MB / 0.6015 GB, free: 9.781 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.4431, allocations: 3.938 kB / 0.6015 GB, free: 9.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4431, allocations: 0.5 kB / 0.6015 GB, free: 9.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.4431, allocations: 4 kB / 0.6015 GB, free: 9.773 MB / 446.1 MB 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.002539/0.4456, allocations: 1.375 MB / 0.6028 GB, free: 24.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.4457, allocations: 9.781 kB / 0.6028 GB, free: 24.93 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003439/0.4491, allocations: 0.6236 MB / 0.6034 GB, free: 24.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.4504, allocations: 0.777 MB / 0.6042 GB, free: 24.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.652e-05/0.4505, allocations: 57.97 kB / 0.6042 GB, free: 24.48 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.4507, allocations: 71.25 kB / 0.6043 GB, free: 24.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.4529, allocations: 1.101 MB / 0.6054 GB, free: 24.21 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.4529, allocations: 4.969 kB / 0.6054 GB, free: 24.21 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.453, allocations: 32.31 kB / 0.6054 GB, free: 24.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.453, allocations: 18.78 kB / 0.6054 GB, free: 24.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/0.4558, allocations: 1.021 MB / 0.6064 GB, free: 24.16 MB / 462.1 MB 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.005248/0.4611, allocations: 4.967 MB / 0.6113 GB, free: 20.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/0.4638, allocations: 0.951 MB / 0.6122 GB, free: 20.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4652, allocations: 0.4935 MB / 0.6127 GB, free: 20.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/0.4662, allocations: 1.6 MB / 0.6143 GB, free: 18.86 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.4677, allocations: 0.5814 MB / 0.6148 GB, free: 18.53 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.876e-06/0.4677, allocations: 0 / 0.6148 GB, free: 18.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.004397/0.4721, allocations: 1.516 MB / 0.6163 GB, free: 17.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.4722, allocations: 58.25 kB / 0.6164 GB, free: 17.78 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.4736, allocations: 1.111 MB / 0.6174 GB, free: 17.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.4737, allocations: 39.2 kB / 0.6175 GB, free: 17.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.4741, allocations: 0.5465 MB / 0.618 GB, free: 16.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.4743, allocations: 209.4 kB / 0.6182 GB, free: 16.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.4744, allocations: 19.91 kB / 0.6182 GB, free: 16.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4745, allocations: 336.9 kB / 0.6186 GB, free: 16.15 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.4758, allocations: 461.2 kB / 0.619 GB, free: 15.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001414/0.4773, allocations: 0.722 MB / 0.6197 GB, free: 15.42 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/0.4786, allocations: 498.2 kB / 0.6202 GB, free: 15.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4786, allocations: 2.438 kB / 0.6202 GB, free: 15.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003184/0.4818, allocations: 1.29 MB / 0.6214 GB, free: 14.59 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.4818, allocations: 10.28 kB / 0.6215 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4818, allocations: 7.812 kB / 0.6215 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.4819, allocations: 12.72 kB / 0.6215 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.483, allocations: 279.8 kB / 0.6217 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.4831, allocations: 15.53 kB / 0.6218 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.4843, allocations: 214 kB / 0.622 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.96e-05/0.4844, allocations: 53.2 kB / 0.622 GB, free: 14.38 MB / 462.1 MB 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.0004766/0.4849, allocations: 295.5 kB / 0.6223 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.485, allocations: 114.8 kB / 0.6224 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/0.4884, allocations: 1.392 MB / 0.6238 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.4884, allocations: 9.812 kB / 0.6238 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4884, allocations: 0 / 0.6238 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.4884, allocations: 3.984 kB / 0.6238 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.4932, allocations: 2.399 MB / 0.6261 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4932, allocations: 5.562 kB / 0.6261 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009787/0.4942, allocations: 191.7 kB / 0.6263 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.4942, allocations: 3.312 kB / 0.6263 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.436e-05/0.4943, allocations: 25.97 kB / 0.6263 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4943, allocations: 6.469 kB / 0.6263 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.4943, allocations: 3.938 kB / 0.6263 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.4989, allocations: 2.001 MB / 0.6283 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.4994, allocations: 283.1 kB / 0.6286 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.4995, allocations: 18.17 kB / 0.6286 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/0.5004, allocations: 122.4 kB / 0.6287 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5006, allocations: 57.8 kB / 0.6288 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.5006, allocations: 31.94 kB / 0.6288 GB, free: 10.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008846/0.5015, allocations: 0.7586 MB / 0.6295 GB, free: 10 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5015, allocations: 0 / 0.6295 GB, free: 10 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00107/0.5026, allocations: 348.6 kB / 0.6299 GB, free: 9.914 MB / 462.1 MB 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 (70): * Single equations (assignments): 55 * 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.001374/0.504, allocations: 0.6422 MB / 0.6305 GB, free: 9.637 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.507, allocations: 1.126 MB / 0.6316 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.507, allocations: 0 / 0.6316 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.5085, allocations: 0.5881 MB / 0.6322 GB, free: 8.375 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5105, allocations: 431.2 kB / 0.6326 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/0.5152, allocations: 2.699 MB / 0.6352 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.5159, allocations: 1.104 MB / 0.6363 GB, free: 4.074 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001008/0.5169, allocations: 252.5 kB / 0.6365 GB, free: 3.824 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.5172, allocations: 107.4 kB / 0.6366 GB, free: 3.719 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5172, allocations: 0 / 0.6366 GB, free: 3.719 MB / 462.1 MB Notification: Performance of Templates: time 0.03204/0.5493, allocations: 18.45 MB / 0.6546 GB, free: 1.582 MB / 478.1 MB 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)