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.001272/0.001272, allocations: 114 kB / 17.12 MB, free: 6.008 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.00145/0.00145, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.9488/0.9488, allocations: 150 MB / 459.5 MB, free: 5.285 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: "" <> 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.001908/0.001908, allocations: 78.73 kB / 0.6361 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1827, allocations: 89.13 MB / 0.7232 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01008/0.1928, allocations: 7.421 MB / 0.7304 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.639/0.8318, allocations: 155.2 MB / 0.8819 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.8332, allocations: 28.02 kB / 0.882 GB, free: 1.566 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.8348, allocations: 433.2 kB / 0.8824 GB, free: 1.562 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00263/0.8375, allocations: 0.7774 MB / 0.8831 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.8401, allocations: 1.15 MB / 0.8843 GB, free: 1.539 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003107/0.8432, allocations: 2.483 MB / 0.8867 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.8449, allocations: 0.776 MB / 0.8875 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001976/0.8469, allocations: 0.9442 MB / 0.8884 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002107/0.849, allocations: 1.001 MB / 0.8894 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0009391/0.85, allocations: 267.4 kB / 0.8896 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.8524, allocations: 0.6779 MB / 0.8903 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.8534, allocations: 0.5746 MB / 0.8908 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001752/0.8552, allocations: 1.092 MB / 0.8919 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.8587, allocations: 3.213 MB / 0.895 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8587, allocations: 1.125 kB / 0.895 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8587, allocations: 2.344 kB / 0.895 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.785e-05/0.8588, allocations: 1.031 kB / 0.895 GB, free: 0.9336 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.00468/0.8634, allocations: 2.389 MB / 0.8974 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.8635, allocations: 8.031 kB / 0.8974 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002835/0.8638, allocations: 234.4 kB / 0.8976 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.8802, allocations: 2.539 MB / 0.9001 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002249/0.8825, allocations: 1.21 MB / 0.9013 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.593e-05/0.8825, allocations: 125.8 kB / 0.9014 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002406/0.8828, allocations: 157.6 kB / 0.9015 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008272/0.8911, allocations: 2.971 MB / 0.9044 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.8911, allocations: 0 / 0.9044 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.8913, allocations: 70.09 kB / 0.9045 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.8913, allocations: 39.75 kB / 0.9045 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01302/0.9043, allocations: 4.152 MB / 0.9086 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.9213, allocations: 8.585 MB / 0.917 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008408/0.9297, allocations: 2.468 MB / 0.9194 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00594/0.9356, allocations: 1.588 MB / 0.9209 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.9358, allocations: 49.27 kB / 0.921 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006618/0.9424, allocations: 1.957 MB / 0.9229 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 4.648e-06/0.9424, allocations: 5.188 kB / 0.9229 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.01927/0.9617, allocations: 5.03 MB / 0.9278 GB, free: 7.062 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.9618, allocations: 226.5 kB / 0.928 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.9635, allocations: 0.9704 MB / 0.929 GB, free: 6.258 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/0.9637, allocations: 53.48 kB / 0.929 GB, free: 6.207 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00071/0.9644, allocations: 0.6718 MB / 0.9297 GB, free: 5.613 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005332/0.9649, allocations: 477.8 kB / 0.9301 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006261/0.9656, allocations: 258.6 kB / 0.9304 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.9657, allocations: 355.6 kB / 0.9307 GB, free: 4.707 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005907/0.9717, allocations: 1.528 MB / 0.9322 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006137/0.9778, allocations: 1.672 MB / 0.9339 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/0.989, allocations: 2.847 MB / 0.9366 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.989, allocations: 0 / 0.9366 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01374/1.003, allocations: 3.365 MB / 0.9399 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/1.003, allocations: 4 kB / 0.9399 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/1.003, allocations: 0 / 0.9399 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006482/1.003, allocations: 92.69 kB / 0.94 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003977/1.007, allocations: 0.6384 MB / 0.9406 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/1.01, allocations: 1.646 MB / 0.9422 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004017/1.014, allocations: 0.5067 MB / 0.9427 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/1.014, allocations: 59.94 kB / 0.9428 GB, free: 12.92 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.001175/1.015, allocations: 406.4 kB / 0.9432 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005781/1.016, allocations: 135.1 kB / 0.9433 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01471/1.031, allocations: 3.842 MB / 0.9471 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.031, allocations: 19.94 kB / 0.9471 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.031, allocations: 0 / 0.9471 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/1.031, allocations: 11.97 kB / 0.9471 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/1.035, allocations: 2.846 MB / 0.9499 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.035, allocations: 0 / 0.9499 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/1.038, allocations: 0.6144 MB / 0.9505 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/1.039, allocations: 83.12 kB / 0.9506 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/1.039, allocations: 51.94 kB / 0.9506 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.041, allocations: 1.676 MB / 0.9522 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.041, allocations: 0 / 0.9522 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.055, allocations: 3.49 MB / 0.9556 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/1.056, allocations: 0.4957 MB / 0.9561 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/1.056, allocations: 43.88 kB / 0.9562 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003544/1.06, allocations: 461 kB / 0.9566 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/1.06, allocations: 119.5 kB / 0.9567 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.06, allocations: 71.88 kB / 0.9568 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001356/1.062, allocations: 0.7032 MB / 0.9575 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/1.062, allocations: 0 / 0.9575 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001885/1.064, allocations: 0.5378 MB / 0.958 GB, free: 12.85 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.01602/1.08, allocations: 4.57 MB / 0.9625 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01361/1.093, allocations: 3.434 MB / 0.9658 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.093, allocations: 0 / 0.9658 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007073/1.1, allocations: 1.831 MB / 0.9676 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.103, allocations: 412.6 kB / 0.968 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05161/1.154, allocations: 16.52 MB / 0.9841 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.156, allocations: 1.288 MB / 0.9854 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002248/1.158, allocations: 442.6 kB / 0.9858 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.16, allocations: 0.6985 MB / 0.9865 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of SimCode: time 1.092e-06/1.16, allocations: 2.25 kB / 0.9865 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09155/1.251, allocations: 38.71 MB / 1.024 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.47, allocations: 9.812 kB / 1.024 GB, free: 9.453 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.715330841951072] Failed to read output from testmodel.py, exit status != 0: 15.682463072938845 15.697855612 14.836123099 Calling exit ...