Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 110.6 kB / 18.32 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 186 kB / 21.5 MB, free: 0.8164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 250.1 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8221/0.8221, allocations: 128.4 MB / 433.6 MB, free: 13.24 MB / 350.1 MB " [Timeout remaining time 179] 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.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.89 kB / 0.6004 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4204, allocations: 83.26 MB / 0.6817 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003831/0.4242, allocations: 2.053 MB / 0.6837 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.4251, allocations: 0.5874 MB / 0.6843 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.4252, allocations: 2.688 kB / 0.6843 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.4254, allocations: 28.61 kB / 0.6844 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.4255, allocations: 37.19 kB / 0.6844 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.4257, allocations: 94.09 kB / 0.6845 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.426, allocations: 285.7 kB / 0.6848 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.4263, allocations: 92.02 kB / 0.6848 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.4264, allocations: 123.3 kB / 0.685 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.4266, allocations: 133.8 kB / 0.6851 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.4266, allocations: 29.47 kB / 0.6851 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.625e-05/0.4267, allocations: 28.41 kB / 0.6851 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.349e-05/0.4267, allocations: 63.23 kB / 0.6852 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.4269, allocations: 120.5 kB / 0.6853 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003425/0.4272, allocations: 302.5 kB / 0.6856 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4272, allocations: 5.062 kB / 0.6856 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4272, allocations: 0 / 0.6856 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4272, allocations: 0 / 0.6856 GB, free: 3.707 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001262/0.4285, allocations: 0.659 MB / 0.6863 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.4285, allocations: 13.88 kB / 0.6863 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.06e-05/0.4286, allocations: 62.67 kB / 0.6863 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.4287, allocations: 28.08 kB / 0.6864 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.4291, allocations: 268.5 kB / 0.6866 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.4291, allocations: 27.06 kB / 0.6866 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.062e-05/0.4292, allocations: 27.61 kB / 0.6867 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.4298, allocations: 287.7 kB / 0.6869 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4298, allocations: 0 / 0.6869 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.4298, allocations: 10.52 kB / 0.6869 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/0.4298, allocations: 8.969 kB / 0.687 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006586/0.4305, allocations: 200 kB / 0.6871 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.4316, allocations: 0.6601 MB / 0.6878 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.4322, allocations: 188.8 kB / 0.688 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.4325, allocations: 91.53 kB / 0.6881 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.4325, allocations: 6.625 kB / 0.6881 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004632/0.433, allocations: 190.1 kB / 0.6882 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.593e-06/0.433, allocations: 0 / 0.6882 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001036/0.434, allocations: 336.3 kB / 0.6886 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.4341, allocations: 145 kB / 0.6887 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.4343, allocations: 212.1 kB / 0.6889 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.4343, allocations: 42.38 kB / 0.6889 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.785e-05/0.4344, allocations: 166.3 kB / 0.6891 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.4345, allocations: 51.44 kB / 0.6892 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.4346, allocations: 72.77 kB / 0.6892 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.4346, allocations: 332.6 kB / 0.6895 GB, free: 472 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.435, allocations: 117.1 kB / 0.6897 GB, free: 416 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003937/0.4354, allocations: 182.3 kB / 0.6898 GB, free: 280 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/0.436, allocations: 305.6 kB / 0.6901 GB, free: 44 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.436, allocations: 0 / 0.6901 GB, free: 44 kB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001031/0.4371, allocations: 438.4 kB / 0.6905 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.4372, allocations: 93.09 kB / 0.6906 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.4372, allocations: 2.344 kB / 0.6906 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.4372, allocations: 2.156 kB / 0.6906 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.4374, allocations: 41.08 kB / 0.6907 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.4375, allocations: 6.75 kB / 0.6907 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.4378, allocations: 63.67 kB / 0.6907 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.4379, allocations: 16.19 kB / 0.6907 GB, free: 15.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002129/0.4381, allocations: 154.8 kB / 0.6909 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.695e-05/0.4381, allocations: 25.97 kB / 0.6909 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.4382, allocations: 26.34 kB / 0.6909 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.4382, allocations: 6.062 kB / 0.691 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.4382, allocations: 1.344 kB / 0.691 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.4382, allocations: 7.984 kB / 0.691 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.4394, allocations: 0.6085 MB / 0.6916 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4394, allocations: 0 / 0.6916 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.4396, allocations: 34.44 kB / 0.6916 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4396, allocations: 1.125 kB / 0.6916 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.4396, allocations: 9.047 kB / 0.6916 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4396, allocations: 1.219 kB / 0.6916 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4396, allocations: 0.9688 kB / 0.6916 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.4404, allocations: 353.8 kB / 0.6919 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.4405, allocations: 98.34 kB / 0.692 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.4405, allocations: 11.2 kB / 0.692 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.4408, allocations: 42.75 kB / 0.6921 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.441, allocations: 55.53 kB / 0.6921 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.441, allocations: 9.141 kB / 0.6921 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00014/0.4411, allocations: 148.3 kB / 0.6923 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4411, allocations: 4 kB / 0.6923 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000318/0.4415, allocations: 66.42 kB / 0.6924 GB, free: 14.37 MB / 0.5137 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 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.443, allocations: 1.011 MB / 0.6933 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009452/0.4439, allocations: 415.2 kB / 0.6937 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4439, allocations: 0 / 0.6937 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.4443, allocations: 107.5 kB / 0.6938 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.4447, allocations: 35.72 kB / 0.6939 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.4491, allocations: 2.696 MB / 0.6965 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.4495, allocations: 0.7476 MB / 0.6972 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.4496, allocations: 26.08 kB / 0.6973 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.4498, allocations: 76.66 kB / 0.6973 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of SimCode: time 6.42e-07/0.4498, allocations: 0 / 0.6973 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.4797, allocations: 5.749 MB / 0.7029 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.5, allocations: 4.594 kB / 0.703 GB, free: 7.418 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.818291812000098] Failed to read output from testmodel.py, exit status != 0: 8.573875727015547 8.601741776 8.169194304 Calling exit ...