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.001346/0.001346, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001421/0.001421, allocations: 217 kB / 23 MB, free: 5.008 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9231/0.9231, allocations: 150 MB / 463.2 MB, free: 10.46 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.001988/0.001988, allocations: 62.09 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1988/0.2008, allocations: 89.18 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01054/0.2114, allocations: 7.468 MB / 0.7356 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5791/0.7905, allocations: 155.3 MB / 0.8873 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.7919, allocations: 31.75 kB / 0.8874 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.7935, allocations: 436 kB / 0.8878 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.7961, allocations: 0.7785 MB / 0.8885 GB, free: 3.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.7991, allocations: 1.179 MB / 0.8897 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003996/0.8031, allocations: 2.483 MB / 0.8921 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.8045, allocations: 0.7706 MB / 0.8929 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.806, allocations: 0.9463 MB / 0.8938 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001543/0.8076, allocations: 0.9999 MB / 0.8948 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003921/0.808, allocations: 268 kB / 0.895 GB, free: 12.58 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.8095, allocations: 0.6792 MB / 0.8957 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005294/0.81, allocations: 0.5764 MB / 0.8962 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.8113, allocations: 1.097 MB / 0.8973 GB, free: 10.22 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004775/0.8161, allocations: 3.217 MB / 0.9005 GB, free: 6.996 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.8161, allocations: 4 kB / 0.9005 GB, free: 6.992 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8161, allocations: 0 / 0.9005 GB, free: 6.992 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.688e-05/0.8161, allocations: 0 / 0.9005 GB, free: 6.992 MB / 0.67 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.004962/0.8211, allocations: 2.305 MB / 0.9027 GB, free: 4.641 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.8211, allocations: 8.031 kB / 0.9027 GB, free: 4.633 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/0.8214, allocations: 236.7 kB / 0.9029 GB, free: 4.391 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.8389, allocations: 2.536 MB / 0.9054 GB, free: 1.852 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/0.8422, allocations: 1.148 MB / 0.9065 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.8423, allocations: 127.2 kB / 0.9067 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.8427, allocations: 156 kB / 0.9068 GB, free: 408 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009746/0.8524, allocations: 2.969 MB / 0.9097 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.8524, allocations: 0 / 0.9097 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/0.8526, allocations: 71.98 kB / 0.9098 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.074e-05/0.8527, allocations: 40 kB / 0.9098 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01539/0.8681, allocations: 4.157 MB / 0.9139 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/0.8872, allocations: 8.521 MB / 0.9222 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008493/0.8957, allocations: 2.468 MB / 0.9246 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00599/0.9017, allocations: 1.575 MB / 0.9261 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.9019, allocations: 45.62 kB / 0.9262 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006802/0.9087, allocations: 1.969 MB / 0.9281 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=139): time 3.296e-06/0.9087, allocations: 4 kB / 0.9281 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of matching and sorting (n=139): time 0.01968/0.9283, allocations: 4.947 MB / 0.9329 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.9285, allocations: 230.9 kB / 0.9332 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.9302, allocations: 0.9694 MB / 0.9341 GB, free: 3.418 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.9304, allocations: 53.7 kB / 0.9342 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007052/0.9311, allocations: 0.6734 MB / 0.9348 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006173/0.9317, allocations: 476 kB / 0.9353 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005459/0.9323, allocations: 250.8 kB / 0.9355 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.9325, allocations: 357.9 kB / 0.9359 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006095/0.9386, allocations: 1.521 MB / 0.9373 GB, free: 80 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006381/0.9449, allocations: 1.671 MB / 0.939 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/0.9567, allocations: 2.848 MB / 0.9418 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.9567, allocations: 0 / 0.9418 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01294/0.9697, allocations: 3.366 MB / 0.945 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.9697, allocations: 4 kB / 0.945 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.9697, allocations: 7.938 kB / 0.9451 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/0.9703, allocations: 88.77 kB / 0.9451 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/0.9739, allocations: 0.6398 MB / 0.9458 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.9762, allocations: 1.539 MB / 0.9473 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/0.9798, allocations: 0.5106 MB / 0.9478 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/0.98, allocations: 55.94 kB / 0.9478 GB, free: 5.164 MB / 0.7169 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.0009752/0.981, allocations: 413.2 kB / 0.9482 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.9813, allocations: 143 kB / 0.9484 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.9951, allocations: 3.832 MB / 0.9521 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.9952, allocations: 23.88 kB / 0.9521 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9952, allocations: 0 / 0.9521 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/0.9952, allocations: 7.969 kB / 0.9521 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/0.9989, allocations: 2.81 MB / 0.9549 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.9989, allocations: 3.938 kB / 0.9549 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00376/1.003, allocations: 0.6243 MB / 0.9555 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004578/1.003, allocations: 76.78 kB / 0.9556 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.003, allocations: 47.94 kB / 0.9556 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/1.006, allocations: 1.579 MB / 0.9571 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.006, allocations: 0 / 0.9571 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.019, allocations: 3.484 MB / 0.9605 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.02, allocations: 430.5 kB / 0.961 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/1.02, allocations: 43.88 kB / 0.961 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003322/1.024, allocations: 462.2 kB / 0.9614 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.024, allocations: 125 kB / 0.9616 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.024, allocations: 67.94 kB / 0.9616 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001117/1.025, allocations: 0.7032 MB / 0.9623 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.025, allocations: 0 / 0.9623 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001534/1.027, allocations: 0.5377 MB / 0.9628 GB, free: 5.266 MB / 0.7325 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.01527/1.042, allocations: 4.569 MB / 0.9673 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.055, allocations: 3.429 MB / 0.9706 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.055, allocations: 0 / 0.9706 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006745/1.062, allocations: 1.837 MB / 0.9724 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/1.064, allocations: 398.9 kB / 0.9728 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05039/1.114, allocations: 16.53 MB / 0.989 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.115, allocations: 1.295 MB / 0.9902 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002094/1.117, allocations: 458.5 kB / 0.9907 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/1.119, allocations: 0.6905 MB / 0.9913 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of SimCode: time 1.092e-06/1.119, allocations: 0 / 0.9913 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0921/1.211, allocations: 39.77 MB / 1.03 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.09/16.3, allocations: 3.984 kB / 1.03 GB, free: 0.5312 MB / 0.795 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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: 20.295828123998945] Failed to read output from testmodel.py, exit status != 0: 16.5281156609999 16.542322079 15.723126260999999 Calling exit ...