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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009655/0.0009655, allocations: 73.09 kB / 20.65 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 173 kB / 24.05 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9558/0.9558, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6295/0.6295, allocations: 115 MB / 376 MB, free: 7.457 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0.9375 kB / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.952e-05, allocations: 4.469 kB / 482 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01052/0.01055, allocations: 13.38 MB / 495.4 MB, free: 2.629 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008056/0.0186, allocations: 4.945 MB / 0.4886 GB, free: 15.25 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002163/0.02077, allocations: 91.25 kB / 0.4887 GB, free: 15.2 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.02204, allocations: 0.61 MB / 0.4893 GB, free: 14.96 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.02572, allocations: 1.567 MB / 0.4908 GB, free: 14.03 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.02932, allocations: 1.496 MB / 0.4923 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.005755/0.03507, allocations: 3.776 MB / 0.496 GB, free: 11.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001825/0.0369, allocations: 0.9888 MB / 0.4969 GB, free: 10.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00346/0.04036, allocations: 1.862 MB / 0.4987 GB, free: 10.14 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.042, allocations: 1.029 MB / 0.4998 GB, free: 9.324 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.04226, allocations: 108 kB / 0.4999 GB, free: 9.219 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008337/0.04309, allocations: 330.1 kB / 0.5002 GB, free: 8.938 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003465/0.04344, allocations: 405.2 kB / 0.5006 GB, free: 8.602 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006847/0.04412, allocations: 0.5675 MB / 0.5011 GB, free: 8.074 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.04597, allocations: 1.407 MB / 0.5025 GB, free: 6.887 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.04597, allocations: 0 / 0.5025 GB, free: 6.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04597, allocations: 0 / 0.5025 GB, free: 6.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.477e-05/0.04603, allocations: 2.359 kB / 0.5025 GB, free: 6.887 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002538/0.04856, allocations: 2.109 MB / 0.5045 GB, free: 4.914 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.0486, allocations: 12.03 kB / 0.5046 GB, free: 4.902 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.05009, allocations: 0.5963 MB / 0.5051 GB, free: 4.414 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.05135, allocations: 1.121 MB / 0.5062 GB, free: 3.254 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.208e-05/0.05141, allocations: 98.69 kB / 0.5063 GB, free: 3.156 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.05152, allocations: 108 kB / 0.5064 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.05278, allocations: 1.207 MB / 0.5076 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.0528, allocations: 7.938 kB / 0.5076 GB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.05287, allocations: 44 kB / 0.5077 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.05288, allocations: 28 kB / 0.5077 GB, free: 1.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.05347, allocations: 460.3 kB / 0.5081 GB, free: 1.125 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/0.0585, allocations: 7.696 MB / 0.5156 GB, free: 9.172 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.05931, allocations: 0.4944 MB / 0.5161 GB, free: 8.668 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.05952, allocations: 189.5 kB / 0.5163 GB, free: 8.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.05976, allocations: 105.1 kB / 0.5164 GB, free: 8.398 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.06013, allocations: 346.2 kB / 0.5167 GB, free: 8.047 MB / 442.7 MB Notification: Performance of pre-optimization done (n=85): time 4.138e-06/0.06014, allocations: 0 / 0.5167 GB, free: 8.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=85): time 0.001026/0.06116, allocations: 0.8 MB / 0.5175 GB, free: 7.238 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.06119, allocations: 60.41 kB / 0.5176 GB, free: 7.168 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008096/0.062, allocations: 1.203 MB / 0.5187 GB, free: 5.934 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.06206, allocations: 41.7 kB / 0.5188 GB, free: 5.887 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.06253, allocations: 0.8728 MB / 0.5196 GB, free: 5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.06272, allocations: 309.4 kB / 0.5199 GB, free: 4.695 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.06294, allocations: 232.4 kB / 0.5202 GB, free: 4.457 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.06307, allocations: 0.5276 MB / 0.5207 GB, free: 3.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.06328, allocations: 158.5 kB / 0.5208 GB, free: 3.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.06379, allocations: 0.9047 MB / 0.5217 GB, free: 2.586 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.0645, allocations: 0.8615 MB / 0.5225 GB, free: 1.516 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.06451, allocations: 4 kB / 0.5226 GB, free: 1.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001045/0.06555, allocations: 0.9257 MB / 0.5235 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.06557, allocations: 11.98 kB / 0.5235 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.06559, allocations: 16.88 kB / 0.5235 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.06561, allocations: 16 kB / 0.5235 GB, free: 0.5352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/0.06618, allocations: 299.5 kB / 0.5238 GB, free: 248 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.0662, allocations: 23.94 kB / 0.5238 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.06672, allocations: 163.1 kB / 0.524 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.462e-05/0.06679, allocations: 55.95 kB / 0.524 GB, free: 4 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0002809/0.06707, allocations: 238.1 kB / 0.5242 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.06724, allocations: 190.9 kB / 0.5244 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.06854, allocations: 1.156 MB / 0.5256 GB, free: 14.44 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.591e-05/0.06855, allocations: 11.98 kB / 0.5256 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.06855, allocations: 4 kB / 0.5256 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.06856, allocations: 3.984 kB / 0.5256 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.07066, allocations: 2.055 MB / 0.5276 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.07067, allocations: 4 kB / 0.5276 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.07109, allocations: 195.8 kB / 0.5278 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.0711, allocations: 4 kB / 0.5278 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.46e-05/0.07114, allocations: 35.97 kB / 0.5278 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.07115, allocations: 4 kB / 0.5278 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.07115, allocations: 4 kB / 0.5278 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.07239, allocations: 1.253 MB / 0.529 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.07269, allocations: 278.4 kB / 0.5293 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/0.07278, allocations: 20 kB / 0.5293 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003371/0.07312, allocations: 71.94 kB / 0.5294 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.809e-05/0.07321, allocations: 72.86 kB / 0.5295 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.07326, allocations: 43.95 kB / 0.5295 GB, free: 10.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000463/0.07373, allocations: 0.674 MB / 0.5302 GB, free: 9.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.07373, allocations: 0 / 0.5302 GB, free: 9.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008495/0.07458, allocations: 427.2 kB / 0.5306 GB, free: 9.152 MB / 458.7 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.0009843/0.07556, allocations: 491.9 kB / 0.531 GB, free: 8.844 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008108/0.07637, allocations: 0.6465 MB / 0.5317 GB, free: 8.191 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.07637, allocations: 0 / 0.5317 GB, free: 8.191 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003509/0.07672, allocations: 364.7 kB / 0.532 GB, free: 7.836 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.07803, allocations: 0.6133 MB / 0.5326 GB, free: 7.246 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.08099, allocations: 2.543 MB / 0.5351 GB, free: 4.629 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.08118, allocations: 302.4 kB / 0.5354 GB, free: 4.309 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007202/0.0819, allocations: 303.1 kB / 0.5357 GB, free: 4.023 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008908/0.08279, allocations: 0.6188 MB / 0.5363 GB, free: 3.402 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.08279, allocations: 0 / 0.5363 GB, free: 3.402 MB / 458.7 MB Notification: Performance of Templates: time 0.03038/0.1132, allocations: 27.67 MB / 0.5633 GB, free: 8.465 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.069043871946633]