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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001937/0.001937, allocations: 103.7 kB / 16.27 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002255/0.002255, allocations: 188.5 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8514/0.8514, allocations: 126.7 MB / 417.8 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 72.11 kB / 0.4959 GB, free: 2.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 78.86 MB / 0.5729 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007501/0.3281, allocations: 7.335 MB / 0.58 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1685/0.4966, allocations: 151.8 MB / 0.7283 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.498, allocations: 23.88 kB / 0.7283 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.4997, allocations: 424.7 kB / 0.7287 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.5023, allocations: 0.7611 MB / 0.7294 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002476/0.5048, allocations: 1.124 MB / 0.7305 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003091/0.5079, allocations: 2.451 MB / 0.7329 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.5095, allocations: 1.157 MB / 0.7341 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001068/0.5106, allocations: 0.8918 MB / 0.7349 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.5119, allocations: 0.9858 MB / 0.7359 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.5124, allocations: 264 kB / 0.7362 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001169/0.5135, allocations: 0.6246 MB / 0.7368 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005205/0.5141, allocations: 0.5686 MB / 0.7373 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.5152, allocations: 1.077 MB / 0.7384 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.5185, allocations: 3.1 MB / 0.7414 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5185, allocations: 0 / 0.7414 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.877e-06/0.5185, allocations: 3.984 kB / 0.7414 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.664e-05/0.5186, allocations: 0 / 0.7414 GB, free: 8.617 MB / 0.5762 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.00443/0.523, allocations: 2.293 MB / 0.7436 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.523, allocations: 8.031 kB / 0.7436 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002973/0.5233, allocations: 236.7 kB / 0.7439 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006124/0.5295, allocations: 0.8647 MB / 0.7447 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.5314, allocations: 1.117 MB / 0.7458 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.5315, allocations: 115.3 kB / 0.7459 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.5318, allocations: 164 kB / 0.7461 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/0.5366, allocations: 2.062 MB / 0.7481 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.5367, allocations: 7.984 kB / 0.7481 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.5369, allocations: 68 kB / 0.7482 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/0.5369, allocations: 43.94 kB / 0.7482 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2337/0.7707, allocations: 2.439 MB / 0.7506 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009258/0.78, allocations: 5.974 MB / 0.7564 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004608/0.7846, allocations: 1.719 MB / 0.7581 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.7866, allocations: 0.7962 MB / 0.7589 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005715/0.7872, allocations: 492.9 kB / 0.7593 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002315/0.7895, allocations: 1.078 MB / 0.7604 GB, free: 163 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=139): time 3.086e-06/0.7895, allocations: 0 / 0.7604 GB, free: 163 MB / 0.5762 GB Notification: Performance of matching and sorting (n=139): time 0.007301/0.7968, allocations: 2.61 MB / 0.7629 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.7969, allocations: 224.7 kB / 0.7632 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.798, allocations: 0.9429 MB / 0.7641 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.7982, allocations: 53.52 kB / 0.7641 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.7985, allocations: 0.6517 MB / 0.7648 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.7988, allocations: 449.9 kB / 0.7652 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/0.7992, allocations: 256.1 kB / 0.7654 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.7993, allocations: 353.6 kB / 0.7658 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/0.8012, allocations: 0.6692 MB / 0.7664 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001967/0.8031, allocations: 0.8259 MB / 0.7672 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/0.8069, allocations: 1.441 MB / 0.7686 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.8069, allocations: 3.344 kB / 0.7687 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004859/0.8117, allocations: 1.794 MB / 0.7704 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8118, allocations: 7.344 kB / 0.7704 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.8118, allocations: 2.031 kB / 0.7704 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000598/0.8124, allocations: 90.89 kB / 0.7705 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/0.8142, allocations: 332.5 kB / 0.7708 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.8159, allocations: 1.651 MB / 0.7724 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001662/0.8176, allocations: 199.3 kB / 0.7726 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.8177, allocations: 58.45 kB / 0.7727 GB, free: 155 MB / 0.5762 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.0006803/0.8184, allocations: 406.2 kB / 0.7731 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.8187, allocations: 128.9 kB / 0.7732 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005586/0.8243, allocations: 2.224 MB / 0.7754 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.8243, allocations: 14.62 kB / 0.7754 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8243, allocations: 4 kB / 0.7754 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.8243, allocations: 11.59 kB / 0.7754 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001611/0.8259, allocations: 1.803 MB / 0.7771 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8259, allocations: 0 / 0.7771 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/0.8276, allocations: 324.2 kB / 0.7775 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004169/0.828, allocations: 73.47 kB / 0.7775 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.8281, allocations: 47.33 kB / 0.7776 GB, free: 152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.8296, allocations: 1.675 MB / 0.7792 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8296, allocations: 4 kB / 0.7792 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004484/0.8341, allocations: 1.921 MB / 0.7811 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/0.8346, allocations: 442.8 kB / 0.7815 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.8348, allocations: 43.81 kB / 0.7815 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.8363, allocations: 143.8 kB / 0.7817 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.8365, allocations: 113.1 kB / 0.7818 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.8366, allocations: 64.02 kB / 0.7819 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007047/0.8373, allocations: 0.6832 MB / 0.7825 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8374, allocations: 0 / 0.7825 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001066/0.8384, allocations: 0.5178 MB / 0.783 GB, free: 146.3 MB / 0.5762 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.006433/0.8449, allocations: 3.018 MB / 0.786 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005959/0.8508, allocations: 2.139 MB / 0.7881 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8509, allocations: 0 / 0.7881 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/0.853, allocations: 1.045 MB / 0.7891 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.8545, allocations: 408.2 kB / 0.7895 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/0.8738, allocations: 12.01 MB / 0.8012 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005731/0.8744, allocations: 1.284 MB / 0.8025 GB, free: 126.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001708/0.8762, allocations: 403.5 kB / 0.8028 GB, free: 125.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009201/0.8771, allocations: 0.6788 MB / 0.8035 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.8771, allocations: 0 / 0.8035 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/0.9391, allocations: 35.23 MB / 0.8379 GB, free: 90.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.71, allocations: 14.72 kB / 0.8379 GB, free: 90.32 MB / 0.5762 GB (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)