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.001451/0.001451, allocations: 104.9 kB / 17.03 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.406/1.406, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.708/0.708, allocations: 115.1 MB / 406.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.318, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02417/0.3422, allocations: 29.32 MB / 0.5862 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009272/0.3515, allocations: 6.866 MB / 0.5929 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/0.3528, allocations: 51.34 kB / 0.5929 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.3544, allocations: 0.6889 MB / 0.5936 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003591/0.358, allocations: 1.447 MB / 0.595 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.3607, allocations: 1.154 MB / 0.5962 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002686/0.3634, allocations: 2.474 MB / 0.5986 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000933/0.3643, allocations: 0.7926 MB / 0.5993 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.3659, allocations: 1.017 MB / 0.6003 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009094/0.3668, allocations: 0.8126 MB / 0.6011 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.367, allocations: 65.59 kB / 0.6012 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.3687, allocations: 0.8238 MB / 0.602 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3689, allocations: 277.9 kB / 0.6023 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.3694, allocations: 0.5569 MB / 0.6028 GB, free: 4.953 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.3715, allocations: 1.627 MB / 0.6044 GB, free: 3.934 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3715, allocations: 0 / 0.6044 GB, free: 3.934 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3716, allocations: 3.984 kB / 0.6044 GB, free: 3.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3716, allocations: 0 / 0.6044 GB, free: 3.93 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.002343/0.3739, allocations: 1.571 MB / 0.6059 GB, free: 2.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.374, allocations: 9.625 kB / 0.6059 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.3771, allocations: 0.5896 MB / 0.6065 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.3784, allocations: 0.8719 MB / 0.6074 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.3785, allocations: 70.3 kB / 0.6074 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3786, allocations: 71.94 kB / 0.6075 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.3806, allocations: 1.092 MB / 0.6086 GB, free: 48 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3806, allocations: 7.938 kB / 0.6086 GB, free: 40 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.037e-05/0.3807, allocations: 32 kB / 0.6086 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.577e-05/0.3808, allocations: 20.05 kB / 0.6086 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.3837, allocations: 1 MB / 0.6096 GB, free: 14.98 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.005649/0.3894, allocations: 4.945 MB / 0.6144 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.3922, allocations: 0.8998 MB / 0.6153 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.3936, allocations: 495.1 kB / 0.6158 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/0.3949, allocations: 1.591 MB / 0.6173 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001566/0.3965, allocations: 0.5728 MB / 0.6179 GB, free: 5.836 MB / 462.1 MB Notification: Performance of pre-optimization done (n=61): time 2.395e-06/0.3965, allocations: 0 / 0.6179 GB, free: 5.836 MB / 462.1 MB Notification: Performance of matching and sorting (n=61): time 0.00456/0.4011, allocations: 1.485 MB / 0.6194 GB, free: 4.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.4011, allocations: 59.97 kB / 0.6194 GB, free: 4.273 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.4025, allocations: 1.108 MB / 0.6205 GB, free: 3.152 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.466e-05/0.4026, allocations: 41.7 kB / 0.6205 GB, free: 3.105 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.4031, allocations: 0.5511 MB / 0.6211 GB, free: 2.547 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.4033, allocations: 213 kB / 0.6213 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.4035, allocations: 162.5 kB / 0.6214 GB, free: 2.172 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.4037, allocations: 338 kB / 0.6218 GB, free: 1.836 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.405, allocations: 449.6 kB / 0.6222 GB, free: 1.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001575/0.4066, allocations: 0.717 MB / 0.6229 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002846/0.4095, allocations: 1.117 MB / 0.624 GB, free: 15.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4095, allocations: 4 kB / 0.624 GB, free: 15.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003455/0.413, allocations: 1.278 MB / 0.6252 GB, free: 14.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.413, allocations: 8 kB / 0.6252 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.413, allocations: 8 kB / 0.6252 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.413, allocations: 12.09 kB / 0.6252 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4143, allocations: 275.7 kB / 0.6255 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.8e-05/0.4143, allocations: 19.94 kB / 0.6255 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4155, allocations: 171 kB / 0.6257 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4156, allocations: 51.97 kB / 0.6257 GB, free: 13.52 MB / 478.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 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.4161, allocations: 287.7 kB / 0.626 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.4163, allocations: 126.4 kB / 0.6261 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/0.42, allocations: 1.363 MB / 0.6275 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.4201, allocations: 11.98 kB / 0.6275 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4201, allocations: 0 / 0.6275 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.4201, allocations: 3.984 kB / 0.6275 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004984/0.4251, allocations: 2.362 MB / 0.6298 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.4251, allocations: 4 kB / 0.6298 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.4262, allocations: 187.9 kB / 0.63 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.4262, allocations: 4 kB / 0.63 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.4262, allocations: 27.97 kB / 0.63 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.4263, allocations: 4 kB / 0.63 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4263, allocations: 0 / 0.63 GB, free: 9.062 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/0.4312, allocations: 1.981 MB / 0.6319 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006057/0.4318, allocations: 279.3 kB / 0.6322 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.432, allocations: 12 kB / 0.6322 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000962/0.433, allocations: 111.9 kB / 0.6323 GB, free: 6.629 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4331, allocations: 48.44 kB / 0.6324 GB, free: 6.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.4332, allocations: 39.97 kB / 0.6324 GB, free: 6.543 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009783/0.4342, allocations: 0.7638 MB / 0.6332 GB, free: 5.773 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4342, allocations: 0 / 0.6332 GB, free: 5.773 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001124/0.4353, allocations: 343.6 kB / 0.6335 GB, free: 5.438 MB / 478.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.4368, allocations: 0.6548 MB / 0.6341 GB, free: 4.969 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003179/0.44, allocations: 1.114 MB / 0.6352 GB, free: 3.859 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.44, allocations: 0 / 0.6352 GB, free: 3.859 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.4415, allocations: 0.5736 MB / 0.6358 GB, free: 3.281 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.4434, allocations: 466.3 kB / 0.6362 GB, free: 2.836 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.4481, allocations: 2.334 MB / 0.6385 GB, free: 468 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.4488, allocations: 1.104 MB / 0.6396 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008373/0.4496, allocations: 248.7 kB / 0.6398 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002959/0.4499, allocations: 107.4 kB / 0.6399 GB, free: 14.97 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4499, allocations: 0 / 0.6399 GB, free: 14.97 MB / 494.1 MB Notification: Performance of Templates: time 0.03175/0.4817, allocations: 19.88 MB / 0.6593 GB, free: 11.34 MB / 0.4981 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)