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.001368/0.001368, 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.001618/0.001618, allocations: 216.8 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9458/0.9458, allocations: 149.9 MB / 463 MB, free: 10.37 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.002345/0.002345, allocations: 75.67 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1859, allocations: 89.16 MB / 0.7281 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01011/0.196, allocations: 6.53 MB / 0.7345 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5956/0.7916, allocations: 133.8 MB / 0.8652 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.7931, allocations: 27.81 kB / 0.8652 GB, free: 8.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.7947, allocations: 422.7 kB / 0.8656 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.7971, allocations: 0.7807 MB / 0.8664 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.7999, allocations: 1.163 MB / 0.8675 GB, free: 6.668 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003216/0.8031, allocations: 2.479 MB / 0.87 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.8044, allocations: 0.7393 MB / 0.8707 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.8057, allocations: 0.9463 MB / 0.8716 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.8068, allocations: 0.8905 MB / 0.8725 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003236/0.8072, allocations: 268 kB / 0.8727 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.8085, allocations: 0.648 MB / 0.8734 GB, free: 0.6367 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000545/0.809, allocations: 0.5764 MB / 0.8739 GB, free: 60 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009005/0.8099, allocations: 0.883 MB / 0.8748 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.8135, allocations: 3.233 MB / 0.878 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.8135, allocations: 0 / 0.878 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8135, allocations: 0 / 0.878 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.252e-05/0.8135, allocations: 0 / 0.878 GB, free: 11.93 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.004894/0.8184, allocations: 2.305 MB / 0.8802 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.8185, allocations: 8.031 kB / 0.8802 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003426/0.8188, allocations: 236.7 kB / 0.8804 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01676/0.8356, allocations: 2.54 MB / 0.8829 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.8385, allocations: 1.137 MB / 0.884 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.8386, allocations: 123.2 kB / 0.8841 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002868/0.8389, allocations: 160 kB / 0.8843 GB, free: 5.344 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0097/0.8486, allocations: 3.252 MB / 0.8875 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.673e-05/0.8486, allocations: 0 / 0.8875 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.8489, allocations: 68 kB / 0.8875 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/0.8489, allocations: 39.94 kB / 0.8876 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.8638, allocations: 4.111 MB / 0.8916 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01569/0.8794, allocations: 7.177 MB / 0.8986 GB, free: 5.887 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008161/0.8876, allocations: 2.461 MB / 0.901 GB, free: 3.41 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00586/0.8935, allocations: 1.578 MB / 0.9025 GB, free: 1.828 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.8936, allocations: 35.81 kB / 0.9026 GB, free: 1.797 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006786/0.9004, allocations: 2.07 MB / 0.9046 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 5.07e-06/0.9004, allocations: 0 / 0.9046 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.01968/0.9201, allocations: 4.951 MB / 0.9094 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.9202, allocations: 230.9 kB / 0.9097 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/0.922, allocations: 0.9694 MB / 0.9106 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002416/0.9223, allocations: 61.62 kB / 0.9107 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007217/0.923, allocations: 0.6734 MB / 0.9113 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005717/0.9236, allocations: 464 kB / 0.9118 GB, free: 8.254 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006346/0.9242, allocations: 262.7 kB / 0.912 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.9244, allocations: 357.9 kB / 0.9124 GB, free: 7.637 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006029/0.9304, allocations: 1.521 MB / 0.9138 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006174/0.9366, allocations: 1.821 MB / 0.9156 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/0.9476, allocations: 2.845 MB / 0.9184 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.9476, allocations: 0 / 0.9184 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01286/0.9605, allocations: 3.355 MB / 0.9217 GB, free: 14 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.9605, allocations: 8 kB / 0.9217 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9605, allocations: 4.062 kB / 0.9217 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.9611, allocations: 92.69 kB / 0.9218 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003642/0.9648, allocations: 0.6476 MB / 0.9224 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.967, allocations: 1.541 MB / 0.9239 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.9706, allocations: 0.5079 MB / 0.9244 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/0.9708, allocations: 59.94 kB / 0.9245 GB, free: 11.02 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.001056/0.9719, allocations: 404.3 kB / 0.9248 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.9724, allocations: 139.1 kB / 0.925 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01407/0.9864, allocations: 3.836 MB / 0.9287 GB, free: 6.629 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.9865, allocations: 23.92 kB / 0.9287 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.9865, allocations: 0 / 0.9287 GB, free: 6.605 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.9865, allocations: 3.984 kB / 0.9288 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.9902, allocations: 2.401 MB / 0.9311 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/0.9902, allocations: 0 / 0.9311 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00363/0.9938, allocations: 0.6281 MB / 0.9317 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004726/0.9943, allocations: 80.77 kB / 0.9318 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/0.9945, allocations: 43.95 kB / 0.9318 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/0.9966, allocations: 1.563 MB / 0.9334 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9966, allocations: 7.938 kB / 0.9334 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01318/1.01, allocations: 3.488 MB / 0.9368 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.011, allocations: 418.5 kB / 0.9372 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005086/1.012, allocations: 47.92 kB / 0.9372 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003575/1.015, allocations: 459.6 kB / 0.9377 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/1.016, allocations: 125 kB / 0.9378 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/1.016, allocations: 67.94 kB / 0.9378 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001351/1.017, allocations: 0.7032 MB / 0.9385 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.017, allocations: 0 / 0.9385 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00173/1.019, allocations: 0.5416 MB / 0.9391 GB, free: 11.55 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.0159/1.035, allocations: 4.602 MB / 0.9435 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.048, allocations: 3.426 MB / 0.9469 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/1.048, allocations: 0 / 0.9469 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006859/1.055, allocations: 1.837 MB / 0.9487 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/1.057, allocations: 401.9 kB / 0.9491 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05078/1.108, allocations: 16.52 MB / 0.9652 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.109, allocations: 0.7094 MB / 0.9659 GB, free: 84 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002299/1.111, allocations: 442.6 kB / 0.9663 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/1.113, allocations: 0.6944 MB / 0.967 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of SimCode: time 1.353e-06/1.113, allocations: 3.938 kB / 0.967 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09639/1.209, allocations: 41.21 MB / 1.007 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.33, allocations: 7.844 kB / 1.007 GB, free: 6.051 MB / 0.7794 GB " [Timeout remaining time 644] (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: 19.47866676095873] Failed to read output from testmodel.py, exit status != 0: 15.562268851324916 15.581605106 14.764242084 Calling exit ...