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.001308/0.001308, allocations: 115.4 kB / 17.13 MB, free: 5.754 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.00133/0.00133, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.395/1.395, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.8199/0.8199, allocations: 129.2 MB / 432.5 MB, free: 13.25 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.001883/0.001883, allocations: 67.89 kB / 0.5988 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.3786, allocations: 83.43 MB / 0.6802 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002736/0.3814, allocations: 2.042 MB / 0.6822 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.3822, allocations: 0.5827 MB / 0.6828 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.3823, allocations: 6.125 kB / 0.6828 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.3824, allocations: 32.75 kB / 0.6828 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3825, allocations: 39.97 kB / 0.6829 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.3827, allocations: 91.31 kB / 0.6829 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.383, allocations: 284.5 kB / 0.6832 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.3832, allocations: 92.8 kB / 0.6833 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.3833, allocations: 119.3 kB / 0.6834 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.3834, allocations: 137.8 kB / 0.6836 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.3835, allocations: 32.06 kB / 0.6836 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.846e-05/0.3835, allocations: 28.97 kB / 0.6836 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.3836, allocations: 60.02 kB / 0.6837 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/0.3837, allocations: 120.8 kB / 0.6838 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.3839, allocations: 307 kB / 0.6841 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3839, allocations: 0 / 0.6841 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3839, allocations: 0 / 0.6841 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.384, allocations: 0 / 0.6841 GB, free: 2.992 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.0009936/0.385, allocations: 0.6587 MB / 0.6847 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.385, allocations: 10.44 kB / 0.6847 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.3851, allocations: 61.2 kB / 0.6848 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.3851, allocations: 28.33 kB / 0.6848 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3854, allocations: 266 kB / 0.6851 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.3854, allocations: 22.09 kB / 0.6851 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.3855, allocations: 28.56 kB / 0.6851 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005416/0.386, allocations: 287.3 kB / 0.6854 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.386, allocations: 3.984 kB / 0.6854 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.386, allocations: 6.594 kB / 0.6854 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.386, allocations: 9.422 kB / 0.6854 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.3866, allocations: 203.8 kB / 0.6856 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009361/0.3876, allocations: 0.6555 MB / 0.6862 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.3881, allocations: 189.4 kB / 0.6864 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.3884, allocations: 95.61 kB / 0.6865 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3884, allocations: 2.719 kB / 0.6865 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004222/0.3889, allocations: 190.1 kB / 0.6867 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.3889, allocations: 4 kB / 0.6867 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0009508/0.3898, allocations: 339.2 kB / 0.687 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3899, allocations: 141.3 kB / 0.6872 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.39, allocations: 206.4 kB / 0.6874 GB, free: 376 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.39, allocations: 43.31 kB / 0.6874 GB, free: 332 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.3901, allocations: 170.9 kB / 0.6876 GB, free: 172 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3901, allocations: 43.03 kB / 0.6876 GB, free: 136 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.3902, allocations: 76.7 kB / 0.6877 GB, free: 80 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3904, allocations: 332.6 kB / 0.688 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/0.3907, allocations: 116.2 kB / 0.6881 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.3911, allocations: 189.7 kB / 0.6883 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.3918, allocations: 310.1 kB / 0.6886 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3918, allocations: 0 / 0.6886 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008816/0.3927, allocations: 430.6 kB / 0.689 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.31e-05/0.3927, allocations: 96.47 kB / 0.6891 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3927, allocations: 1.438 kB / 0.6891 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.3928, allocations: 2.938 kB / 0.6891 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.393, allocations: 48.95 kB / 0.6891 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.393, allocations: 2.531 kB / 0.6891 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.3933, allocations: 62.86 kB / 0.6892 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.3933, allocations: 17.62 kB / 0.6892 GB, free: 14.89 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.0001644/0.3935, allocations: 154.4 kB / 0.6894 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.3935, allocations: 22.73 kB / 0.6894 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.3936, allocations: 29.73 kB / 0.6894 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3936, allocations: 2.344 kB / 0.6894 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3936, allocations: 0 / 0.6894 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3936, allocations: 0 / 0.6894 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3947, allocations: 0.621 MB / 0.69 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3947, allocations: 0 / 0.69 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.3948, allocations: 29.66 kB / 0.6901 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.3948, allocations: 1.219 kB / 0.6901 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.3949, allocations: 6.422 kB / 0.6901 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3949, allocations: 5.219 kB / 0.6901 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3949, allocations: 0 / 0.6901 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007021/0.3956, allocations: 353.9 kB / 0.6904 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.3956, allocations: 102.5 kB / 0.6905 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.3957, allocations: 11.86 kB / 0.6905 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002945/0.396, allocations: 42.62 kB / 0.6905 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.3961, allocations: 51.81 kB / 0.6906 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.3961, allocations: 9.422 kB / 0.6906 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3962, allocations: 151.2 kB / 0.6908 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3962, allocations: 0 / 0.6908 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003124/0.3966, allocations: 70.52 kB / 0.6908 GB, free: 13.64 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.001427/0.398, allocations: 1.005 MB / 0.6918 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.3988, allocations: 418.6 kB / 0.6922 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3988, allocations: 0 / 0.6922 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.3992, allocations: 115.8 kB / 0.6923 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3995, allocations: 30.22 kB / 0.6923 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.4036, allocations: 2.691 MB / 0.695 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4039, allocations: 0.7523 MB / 0.6957 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001068/0.404, allocations: 17.58 kB / 0.6957 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.4042, allocations: 81.19 kB / 0.6958 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of SimCode: time 7.21e-07/0.4042, allocations: 0 / 0.6958 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.432, allocations: 5.739 MB / 0.7014 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.456, allocations: 11.67 kB / 0.7014 GB, free: 6.738 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=50 --tolerance=1e-08 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 sys.exit(0), Time elapsed: 11.73568425187841] Failed to read output from testmodel.py, exit status != 0: 8.529283781070262 8.552245459 8.164972096 Calling exit ...