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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 114.7 kB / 19.7 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 190.8 kB / 22.98 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8873/0.8873, allocations: 149.6 MB / 456.6 MB, free: 1.219 MB / 350.1 MB " [Timeout remaining time 179] 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.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: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 63.89 kB / 0.6328 GB, free: 9.02 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.176, allocations: 87.87 MB / 0.7187 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009136/0.1851, allocations: 7.424 MB / 0.7259 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.4843/0.6694, allocations: 152.4 MB / 0.8747 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.6706, allocations: 23.81 kB / 0.8747 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.6719, allocations: 437.2 kB / 0.8752 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002026/0.674, allocations: 0.7741 MB / 0.8759 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/0.6763, allocations: 1.142 MB / 0.877 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002931/0.6793, allocations: 2.471 MB / 0.8794 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.6805, allocations: 0.7827 MB / 0.8802 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.6816, allocations: 0.9345 MB / 0.8811 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.6828, allocations: 0.9921 MB / 0.8821 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003297/0.6831, allocations: 268 kB / 0.8823 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.6842, allocations: 0.6441 MB / 0.883 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004994/0.6847, allocations: 0.5686 MB / 0.8835 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009844/0.6857, allocations: 1.081 MB / 0.8846 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.6898, allocations: 3.168 MB / 0.8877 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6898, allocations: 4 kB / 0.8877 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6898, allocations: 0 / 0.8877 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.782e-05/0.6898, allocations: 0 / 0.8877 GB, free: 1.547 MB / 0.6544 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.004649/0.6945, allocations: 2.27 MB / 0.8899 GB, free: 15.23 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6945, allocations: 8.625 kB / 0.8899 GB, free: 15.22 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005864/0.7004, allocations: 0.8819 MB / 0.8908 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.7024, allocations: 1.061 MB / 0.8918 GB, free: 13.25 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.7025, allocations: 123.2 kB / 0.8919 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.7027, allocations: 156 kB / 0.8921 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004588/0.7073, allocations: 2.067 MB / 0.8941 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.7073, allocations: 0 / 0.8941 GB, free: 10.86 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.7075, allocations: 68 kB / 0.8942 GB, free: 10.79 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.081e-05/0.7075, allocations: 40 kB / 0.8942 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006039/0.7136, allocations: 2.449 MB / 0.8966 GB, free: 8.297 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/0.7237, allocations: 5.848 MB / 0.9023 GB, free: 2.215 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/0.7279, allocations: 1.626 MB / 0.9039 GB, free: 0.582 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.7298, allocations: 0.7304 MB / 0.9046 GB, free: 15.85 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005443/0.7304, allocations: 113.5 kB / 0.9047 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002504/0.7329, allocations: 1.064 MB / 0.9057 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 2.905e-06/0.7329, allocations: 0 / 0.9057 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.007549/0.7404, allocations: 2.54 MB / 0.9082 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.7406, allocations: 222.9 kB / 0.9084 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.7419, allocations: 0.9521 MB / 0.9094 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.7421, allocations: 53.7 kB / 0.9094 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.7427, allocations: 0.6693 MB / 0.9101 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004472/0.7432, allocations: 464 kB / 0.9105 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/0.7437, allocations: 274.7 kB / 0.9108 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.7439, allocations: 361.9 kB / 0.9111 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.7459, allocations: 0.6858 MB / 0.9118 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.748, allocations: 0.8281 MB / 0.9126 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/0.7518, allocations: 1.467 MB / 0.914 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.7518, allocations: 4 kB / 0.914 GB, free: 6.023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005279/0.7571, allocations: 1.848 MB / 0.9158 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.7571, allocations: 7.938 kB / 0.9158 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.7571, allocations: 4 kB / 0.9159 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005962/0.7577, allocations: 88.77 kB / 0.9159 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.7595, allocations: 343.5 kB / 0.9163 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.7619, allocations: 1.55 MB / 0.9178 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.7636, allocations: 205.4 kB / 0.918 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.7638, allocations: 63.94 kB / 0.918 GB, free: 1.801 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.0009728/0.7648, allocations: 413.2 kB / 0.9184 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.7651, allocations: 139.1 kB / 0.9186 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005921/0.771, allocations: 2.223 MB / 0.9207 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.771, allocations: 16 kB / 0.9207 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.771, allocations: 7.938 kB / 0.9208 GB, free: 14.99 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.705e-05/0.771, allocations: 7.969 kB / 0.9208 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.7735, allocations: 1.761 MB / 0.9225 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7735, allocations: 0 / 0.9225 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.7752, allocations: 319.6 kB / 0.9228 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/0.7757, allocations: 72.8 kB / 0.9229 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.7758, allocations: 47.94 kB / 0.9229 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.7778, allocations: 1.563 MB / 0.9244 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7778, allocations: 4.047 kB / 0.9244 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/0.783, allocations: 1.934 MB / 0.9263 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008248/0.7838, allocations: 366.5 kB / 0.9267 GB, free: 8.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/0.7841, allocations: 39.94 kB / 0.9267 GB, free: 8.711 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.7855, allocations: 139.8 kB / 0.9268 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003108/0.7858, allocations: 125 kB / 0.927 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.786, allocations: 64.02 kB / 0.927 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001105/0.7871, allocations: 0.6791 MB / 0.9277 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.7871, allocations: 0 / 0.9277 GB, free: 7.699 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001398/0.7885, allocations: 0.5298 MB / 0.9282 GB, free: 7.168 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.002097/0.7906, allocations: 0.6518 MB / 0.9288 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.004738/0.7953, allocations: 1.755 MB / 0.9306 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.7953, allocations: 4 kB / 0.9306 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/0.7977, allocations: 0.9821 MB / 0.9315 GB, free: 3.926 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.7994, allocations: 392.8 kB / 0.9319 GB, free: 3.566 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005961/0.8053, allocations: 3.097 MB / 0.9349 GB, free: 440 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009405/0.8063, allocations: 1.28 MB / 0.9362 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001546/0.8078, allocations: 402.4 kB / 0.9365 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005733/0.8084, allocations: 171.3 kB / 0.9367 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of SimCode: time 1.452e-06/0.8084, allocations: 0 / 0.9367 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of Templates: time 0.04406/0.8524, allocations: 26.38 MB / 0.9625 GB, free: 4.375 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9018717762082815] Failed to read output from testmodel.py, exit status != 0: 0.8611829476431012 0.875195942 0.18242905799999995 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7c502617b0>