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.0009667/0.0009667, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.0009448/0.0009448, allocations: 169 kB / 24.14 MB, free: 356 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.9435/0.9435, allocations: 177.1 MB / 204.6 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.6146/0.6146, allocations: 115 MB / 376 MB, free: 7.496 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 1.473e-06/1.473e-06, allocations: 0 / 428.8 MB, free: 2.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.662e-05, allocations: 2.312 kB / 428.8 MB, free: 2.766 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.009731/0.009748, allocations: 13.42 MB / 442.2 MB, free: 5.293 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007771/0.01752, allocations: 5.069 MB / 447.2 MB, free: 216 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007021/0.01822, allocations: 91.19 kB / 447.3 MB, free: 124 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1957/0.2139, allocations: 0.6012 MB / 447.9 MB, free: 16.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0032/0.2171, allocations: 1.573 MB / 449.5 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.2198, allocations: 1.491 MB / 451 MB, free: 16.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003377/0.2232, allocations: 3.761 MB / 454.8 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009235/0.2241, allocations: 0.9993 MB / 455.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.2259, allocations: 1.863 MB / 457.6 MB, free: 15.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009284/0.2268, allocations: 0.9573 MB / 458.6 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.227, allocations: 107.9 kB / 458.7 MB, free: 15.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000581/0.2275, allocations: 322.9 kB / 459 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.2278, allocations: 422.1 kB / 459.4 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005396/0.2284, allocations: 0.5664 MB / 460 MB, free: 15.27 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.2295, allocations: 1.405 MB / 461.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2295, allocations: 2.625 kB / 461.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2295, allocations: 2.5 kB / 461.4 MB, free: 14.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.2295, allocations: 0 / 461.4 MB, free: 14.76 MB / 410.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.001747/0.2313, allocations: 1.963 MB / 463.4 MB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.2313, allocations: 9 kB / 463.4 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.2327, allocations: 0.4936 MB / 463.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.2339, allocations: 1.012 MB / 464.9 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.2339, allocations: 83.05 kB / 465 MB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.234, allocations: 110 kB / 465.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.2352, allocations: 1.121 MB / 466.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.2352, allocations: 6.688 kB / 466.2 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.2353, allocations: 44.06 kB / 466.2 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.2353, allocations: 29.02 kB / 466.3 MB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.2358, allocations: 423.8 kB / 466.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003478/0.2393, allocations: 5.34 MB / 472 MB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007886/0.2401, allocations: 0.4943 MB / 472.5 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/0.2403, allocations: 165.9 kB / 472.7 MB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001999/0.2405, allocations: 78.36 kB / 472.7 MB, free: 5.918 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003555/0.2409, allocations: 345 kB / 473.1 MB, free: 5.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=85): time 2.344e-06/0.2409, allocations: 0 / 473.1 MB, free: 5.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=85): time 0.0008031/0.2417, allocations: 0.5526 MB / 473.6 MB, free: 5.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.2417, allocations: 60.41 kB / 473.7 MB, free: 4.969 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007113/0.2424, allocations: 1.134 MB / 474.8 MB, free: 4.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.643e-05/0.2425, allocations: 41.7 kB / 474.9 MB, free: 3.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.2427, allocations: 0.5752 MB / 475.4 MB, free: 3.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.2428, allocations: 301.4 kB / 475.7 MB, free: 3.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.2431, allocations: 222.4 kB / 476 MB, free: 2.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.2432, allocations: 353 kB / 476.3 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.2434, allocations: 134.4 kB / 476.4 MB, free: 2.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.2438, allocations: 0.7345 MB / 477.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006053/0.2444, allocations: 0.7247 MB / 477.9 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.2444, allocations: 0.75 kB / 477.9 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0008343/0.2452, allocations: 0.7087 MB / 478.6 MB, free: 180 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2453, allocations: 8 kB / 478.6 MB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.2453, allocations: 12 kB / 478.6 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.2453, allocations: 20.5 kB / 478.6 MB, free: 140 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/0.246, allocations: 295.1 kB / 478.9 MB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.176e-05/0.246, allocations: 26.36 kB / 479 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006191/0.2467, allocations: 153.7 kB / 479.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.993e-05/0.2467, allocations: 55.97 kB / 479.2 MB, free: 15.64 MB / 426.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.0002577/0.247, allocations: 190.7 kB / 479.3 MB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.2472, allocations: 119.9 kB / 479.5 MB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.2486, allocations: 0.9592 MB / 480.4 MB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.2487, allocations: 23.92 kB / 480.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.2487, allocations: 2.188 kB / 480.4 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.2487, allocations: 7.922 kB / 480.5 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/0.2509, allocations: 1.738 MB / 482.2 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2509, allocations: 1.281 kB / 482.2 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.2514, allocations: 184 kB / 482.4 MB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.2514, allocations: 8 kB / 482.4 MB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.604e-05/0.2515, allocations: 28.53 kB / 482.4 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2515, allocations: 4 kB / 482.4 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2515, allocations: 4.844 kB / 482.4 MB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.2528, allocations: 1.003 MB / 483.4 MB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.2532, allocations: 222.5 kB / 483.6 MB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.2533, allocations: 27.98 kB / 483.7 MB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.2538, allocations: 65.66 kB / 483.7 MB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/0.2539, allocations: 81.17 kB / 483.8 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.158e-05/0.254, allocations: 35.97 kB / 483.8 MB, free: 11.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005086/0.2545, allocations: 0.571 MB / 484.4 MB, free: 10.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2545, allocations: 1.75 kB / 484.4 MB, free: 10.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008477/0.2553, allocations: 431.2 kB / 484.8 MB, free: 10.19 MB / 426.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.001368/0.2567, allocations: 0.5876 MB / 485.4 MB, free: 9.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008594/0.2576, allocations: 0.5864 MB / 486 MB, free: 9.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.895e-05/0.2576, allocations: 23.78 kB / 486 MB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.258, allocations: 318.2 kB / 486.3 MB, free: 9.121 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.2596, allocations: 0.6043 MB / 486.9 MB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.2626, allocations: 2.484 MB / 489.4 MB, free: 6.086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.2628, allocations: 302.4 kB / 489.7 MB, free: 5.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006826/0.2634, allocations: 304.8 kB / 490 MB, free: 5.527 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000931/0.2644, allocations: 0.5431 MB / 490.6 MB, free: 4.98 MB / 426.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2644, allocations: 0 / 490.6 MB, free: 4.98 MB / 426.7 MB Notification: Performance of Templates: time 0.02939/0.2938, allocations: 27.55 MB / 0.506 GB, free: 10.43 MB / 458.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.011168718803674]