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.001835/0.001835, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002237/0.002237, allocations: 209 kB / 22.99 MB, free: 4.977 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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.9502/0.9502, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.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: "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [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.002309/0.002309, allocations: 69.52 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1929, allocations: 89.17 MB / 0.7282 GB, free: 1.051 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009797/0.2027, allocations: 6.531 MB / 0.7345 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5979/0.8006, allocations: 133.8 MB / 0.8652 GB, free: 9.043 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.8019, allocations: 23.81 kB / 0.8652 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.8034, allocations: 428.8 kB / 0.8657 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.8057, allocations: 0.7855 MB / 0.8664 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.8083, allocations: 1.158 MB / 0.8675 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003069/0.8113, allocations: 2.475 MB / 0.87 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.8125, allocations: 0.7393 MB / 0.8707 GB, free: 3.434 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.8139, allocations: 0.9502 MB / 0.8716 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.815, allocations: 0.8902 MB / 0.8725 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.8153, allocations: 268 kB / 0.8727 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.8166, allocations: 0.6597 MB / 0.8734 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005017/0.8171, allocations: 0.5686 MB / 0.8739 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000849/0.818, allocations: 0.8828 MB / 0.8748 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003631/0.8216, allocations: 3.225 MB / 0.878 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8216, allocations: 4 kB / 0.878 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8216, allocations: 7.875 kB / 0.878 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.542e-05/0.8216, allocations: 0 / 0.878 GB, free: 11.97 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.004491/0.8261, allocations: 2.293 MB / 0.8802 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.8262, allocations: 12.03 kB / 0.8802 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002844/0.8265, allocations: 244.5 kB / 0.8804 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.8429, allocations: 2.54 MB / 0.8829 GB, free: 6.824 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002528/0.8455, allocations: 1.132 MB / 0.884 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.8456, allocations: 123.3 kB / 0.8842 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.8459, allocations: 159.9 kB / 0.8843 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008985/0.8548, allocations: 3.249 MB / 0.8875 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.8549, allocations: 0 / 0.8875 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.8551, allocations: 71.98 kB / 0.8875 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.8551, allocations: 40 kB / 0.8876 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.8693, allocations: 4.103 MB / 0.8916 GB, free: 13.79 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.885, allocations: 7.186 MB / 0.8986 GB, free: 5.922 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008544/0.8935, allocations: 2.46 MB / 0.901 GB, free: 3.445 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006386/0.8999, allocations: 1.575 MB / 0.9025 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.9, allocations: 41.27 kB / 0.9026 GB, free: 1.828 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006775/0.9068, allocations: 2.062 MB / 0.9046 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 5.29e-06/0.9068, allocations: 3.984 kB / 0.9046 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.01936/0.9262, allocations: 4.947 MB / 0.9094 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.9263, allocations: 230.9 kB / 0.9097 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.9278, allocations: 0.9694 MB / 0.9106 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001972/0.928, allocations: 53.7 kB / 0.9107 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/0.9286, allocations: 0.6777 MB / 0.9113 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004684/0.9291, allocations: 476 kB / 0.9118 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/0.9296, allocations: 258.7 kB / 0.912 GB, free: 8.027 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.9298, allocations: 353.9 kB / 0.9124 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00595/0.9357, allocations: 1.521 MB / 0.9138 GB, free: 6.152 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006217/0.9419, allocations: 1.825 MB / 0.9156 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.9529, allocations: 2.848 MB / 0.9184 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.9529, allocations: 3.75 kB / 0.9184 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01279/0.9657, allocations: 3.358 MB / 0.9217 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.9657, allocations: 4 kB / 0.9217 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9657, allocations: 8.062 kB / 0.9217 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.9663, allocations: 84.7 kB / 0.9218 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003617/0.9699, allocations: 0.6437 MB / 0.9224 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.9721, allocations: 1.527 MB / 0.9239 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00358/0.9757, allocations: 0.5067 MB / 0.9244 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.9759, allocations: 59.94 kB / 0.9244 GB, free: 11.07 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (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 (153): * Single equations (assignments): 152 * 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.0009125/0.9768, allocations: 408.3 kB / 0.9248 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.9771, allocations: 142.4 kB / 0.925 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/0.9909, allocations: 3.836 MB / 0.9287 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.9909, allocations: 15.94 kB / 0.9287 GB, free: 6.656 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.991, allocations: 8 kB / 0.9287 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.991, allocations: 19.89 kB / 0.9288 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.9942, allocations: 2.397 MB / 0.9311 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.9942, allocations: 0 / 0.9311 GB, free: 3.883 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003586/0.9978, allocations: 0.6203 MB / 0.9317 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004506/0.9983, allocations: 76.78 kB / 0.9318 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.9984, allocations: 51.94 kB / 0.9318 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/1, allocations: 1.555 MB / 0.9334 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1, allocations: 0 / 0.9334 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.013, allocations: 3.495 MB / 0.9368 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.014, allocations: 422.5 kB / 0.9372 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/1.015, allocations: 39.88 kB / 0.9372 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00323/1.018, allocations: 461.3 kB / 0.9376 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/1.018, allocations: 125 kB / 0.9378 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/1.018, allocations: 63.94 kB / 0.9378 GB, free: 12.85 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001088/1.02, allocations: 0.7071 MB / 0.9385 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.02, allocations: 0 / 0.9385 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001479/1.021, allocations: 0.5416 MB / 0.939 GB, free: 11.59 MB / 0.7169 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.01567/1.037, allocations: 4.606 MB / 0.9435 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01311/1.05, allocations: 3.429 MB / 0.9469 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.05, allocations: 0 / 0.9469 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006571/1.056, allocations: 1.837 MB / 0.9487 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/1.058, allocations: 400.9 kB / 0.9491 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04944/1.108, allocations: 16.52 MB / 0.9652 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000864/1.108, allocations: 0.7061 MB / 0.9659 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0022/1.111, allocations: 446.6 kB / 0.9663 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.112, allocations: 0.7022 MB / 0.967 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of SimCode: time 9.42e-07/1.112, allocations: 0 / 0.967 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08703/1.199, allocations: 41.22 MB / 1.007 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.2, allocations: 7.156 kB / 1.007 GB, free: 6.078 MB / 0.7794 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.194549688138068] Failed to read output from testmodel.py, exit status != 0: 15.432905031833798 15.453506269 14.627754608 Calling exit ...