Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.001971/0.001971, allocations: 71.59 kB / 20.51 MB, free: 1.285 MB / 14.72 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.002242/0.002242, allocations: 161.2 kB / 23.76 MB, free: 4.469 MB / 14.72 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 1.464/1.464, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] 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.9679/0.9679, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.1 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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 70.19 kB / 0.555 GB, free: 2.746 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 89.14 MB / 0.6421 GB, free: 9.559 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009513/0.1947, allocations: 6.534 MB / 0.6485 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5482/0.7429, allocations: 133.8 MB / 0.7791 GB, free: 1.742 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.7442, allocations: 25.25 kB / 0.7792 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001497/0.7457, allocations: 433 kB / 0.7796 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.748, allocations: 0.784 MB / 0.7804 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.7507, allocations: 1.154 MB / 0.7815 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00326/0.754, allocations: 2.487 MB / 0.7839 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/0.7552, allocations: 0.7354 MB / 0.7846 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.7565, allocations: 0.9447 MB / 0.7855 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.7578, allocations: 0.8917 MB / 0.7864 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002952/0.7581, allocations: 270.9 kB / 0.7867 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.7592, allocations: 0.6466 MB / 0.7873 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000564/0.7598, allocations: 0.5729 MB / 0.7879 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009166/0.7607, allocations: 0.8753 MB / 0.7887 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.7646, allocations: 3.236 MB / 0.7919 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7646, allocations: 0 / 0.7919 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7646, allocations: 0 / 0.7919 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.775e-05/0.7646, allocations: 0 / 0.7919 GB, free: 8.953 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.00497/0.7696, allocations: 2.299 MB / 0.7941 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.7697, allocations: 8.031 kB / 0.7941 GB, free: 6.871 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/0.7879, allocations: 2.54 MB / 0.7966 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/0.7909, allocations: 1.14 MB / 0.7977 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.791, allocations: 127.1 kB / 0.7979 GB, free: 3.035 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/0.7914, allocations: 160 kB / 0.798 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.8015, allocations: 3.245 MB / 0.8012 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.8016, allocations: 0 / 0.8012 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002063/0.8018, allocations: 68 kB / 0.8012 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.8018, allocations: 40 kB / 0.8013 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.8177, allocations: 4.103 MB / 0.8053 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01758/0.8352, allocations: 6.963 MB / 0.8121 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009021/0.8443, allocations: 2.456 MB / 0.8145 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006351/0.8506, allocations: 1.578 MB / 0.816 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.8507, allocations: 41.2 kB / 0.8161 GB, free: 15.57 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007376/0.8581, allocations: 2.066 MB / 0.8181 GB, free: 13.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=139): time 3.697e-06/0.8581, allocations: 4 kB / 0.8181 GB, free: 13.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=139): time 0.02265/0.8808, allocations: 4.933 MB / 0.8229 GB, free: 8.508 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.881, allocations: 230.9 kB / 0.8231 GB, free: 8.234 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.8824, allocations: 0.852 MB / 0.824 GB, free: 7.355 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003552/0.8828, allocations: 53.7 kB / 0.824 GB, free: 7.297 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000736/0.8835, allocations: 0.6775 MB / 0.8247 GB, free: 6.609 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/0.8842, allocations: 475.9 kB / 0.8251 GB, free: 6.141 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006004/0.8848, allocations: 270.8 kB / 0.8254 GB, free: 5.871 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.885, allocations: 365.9 kB / 0.8257 GB, free: 5.508 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00667/0.8917, allocations: 1.54 MB / 0.8272 GB, free: 3.969 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00716/0.8988, allocations: 1.826 MB / 0.829 GB, free: 2.082 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01288/0.9117, allocations: 2.872 MB / 0.8318 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.9117, allocations: 3.938 kB / 0.8318 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01519/0.9269, allocations: 3.401 MB / 0.8351 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.9269, allocations: 4 kB / 0.8351 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.927, allocations: 0 / 0.8351 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006637/0.9276, allocations: 92.77 kB / 0.8352 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/0.9319, allocations: 0.6476 MB / 0.8359 GB, free: 11.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/0.9344, allocations: 1.516 MB / 0.8373 GB, free: 9.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/0.9385, allocations: 0.5046 MB / 0.8378 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004192/0.9389, allocations: 63.94 kB / 0.8379 GB, free: 8.844 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001664/0.9406, allocations: 412.1 kB / 0.8383 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006628/0.9413, allocations: 131.1 kB / 0.8384 GB, free: 8.301 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01622/0.9575, allocations: 3.833 MB / 0.8422 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/0.9575, allocations: 16 kB / 0.8422 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9575, allocations: 0 / 0.8422 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/0.9575, allocations: 7.969 kB / 0.8422 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/0.9613, allocations: 2.198 MB / 0.8443 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.9613, allocations: 0 / 0.8443 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004114/0.9654, allocations: 0.6281 MB / 0.8449 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/0.966, allocations: 76.78 kB / 0.845 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003197/0.9663, allocations: 43.95 kB / 0.8451 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.9686, allocations: 1.54 MB / 0.8466 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9686, allocations: 0 / 0.8466 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01573/0.9843, allocations: 3.483 MB / 0.85 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001379/0.9857, allocations: 410.5 kB / 0.8504 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005677/0.9862, allocations: 40 kB / 0.8504 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/0.9901, allocations: 455.6 kB / 0.8508 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/0.9905, allocations: 117.1 kB / 0.8509 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003578/0.9909, allocations: 71.94 kB / 0.851 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001481/0.9923, allocations: 0.6202 MB / 0.8516 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.9923, allocations: 0 / 0.8516 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002069/0.9944, allocations: 0.5571 MB / 0.8522 GB, free: 9.73 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002352/0.9968, allocations: 0.6643 MB / 0.8528 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01458/1.011, allocations: 3.465 MB / 0.8562 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.011, allocations: 0 / 0.8562 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007521/1.019, allocations: 1.841 MB / 0.858 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/1.021, allocations: 365.2 kB / 0.8583 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/1.033, allocations: 3.962 MB / 0.8622 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.034, allocations: 0.7096 MB / 0.8629 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002627/1.037, allocations: 437.7 kB / 0.8633 GB, free: 14.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009845/1.038, allocations: 176.3 kB / 0.8635 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of SimCode: time 1.242e-06/1.038, allocations: 0 / 0.8635 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of Templates: time 0.05126/1.089, allocations: 27.48 MB / 0.8903 GB, free: 3.059 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.7591145830228925] Failed to read output from testmodel.py, exit status != 0: 1.099931789911352 1.128055935 0.35796520000000004 Calling exit ...