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.00138/0.00138, allocations: 109.9 kB / 18.27 MB, free: 4.02 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.001364/0.001364, allocations: 189.9 kB / 21.43 MB, free: 0.8672 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.292/1.292, allocations: 225.6 MB / 250.1 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] 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.7508/0.7508, allocations: 128.4 MB / 433.5 MB, free: 13.53 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.001741/0.001741, allocations: 64.14 kB / 0.6003 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3154, allocations: 83.26 MB / 0.6816 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002447/0.3179, allocations: 2.059 MB / 0.6836 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007179/0.3186, allocations: 0.5794 MB / 0.6842 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.3187, allocations: 6.625 kB / 0.6842 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.372e-05/0.3188, allocations: 23.67 kB / 0.6842 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3189, allocations: 44.62 kB / 0.6843 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001901/0.3191, allocations: 99.61 kB / 0.6844 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.3193, allocations: 280.6 kB / 0.6846 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.3195, allocations: 89.02 kB / 0.6847 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3196, allocations: 127.3 kB / 0.6848 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3197, allocations: 125.8 kB / 0.685 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.729e-05/0.3198, allocations: 28.09 kB / 0.685 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.104e-05/0.3198, allocations: 36.47 kB / 0.685 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.3199, allocations: 56.36 kB / 0.6851 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.32, allocations: 132.1 kB / 0.6852 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.3202, allocations: 299 kB / 0.6855 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3202, allocations: 0 / 0.6855 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3202, allocations: 3.938 kB / 0.6855 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3202, allocations: 0.9062 kB / 0.6855 GB, free: 3.867 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.0009637/0.3212, allocations: 0.666 MB / 0.6861 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3212, allocations: 9.969 kB / 0.6861 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.3213, allocations: 58 kB / 0.6862 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.3213, allocations: 29.36 kB / 0.6862 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3216, allocations: 268.8 kB / 0.6865 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.3216, allocations: 22.91 kB / 0.6865 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.3216, allocations: 20.41 kB / 0.6865 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.3221, allocations: 294.7 kB / 0.6868 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3222, allocations: 0 / 0.6868 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.3222, allocations: 10 kB / 0.6868 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.3222, allocations: 6.188 kB / 0.6868 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006056/0.3228, allocations: 203.9 kB / 0.687 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008861/0.3237, allocations: 0.6629 MB / 0.6877 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.3243, allocations: 185.5 kB / 0.6878 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.3245, allocations: 95.95 kB / 0.6879 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.3246, allocations: 1.344 kB / 0.6879 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.325, allocations: 193.8 kB / 0.6881 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.325, allocations: 0 / 0.6881 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.0009534/0.3259, allocations: 337.9 kB / 0.6884 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.326, allocations: 131.8 kB / 0.6886 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3261, allocations: 224.4 kB / 0.6888 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3261, allocations: 38.11 kB / 0.6888 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.3262, allocations: 167.1 kB / 0.689 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3262, allocations: 51.36 kB / 0.689 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.667e-05/0.3263, allocations: 68.17 kB / 0.6891 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.3264, allocations: 336.5 kB / 0.6894 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.3267, allocations: 112.3 kB / 0.6895 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.327, allocations: 183 kB / 0.6897 GB, free: 452 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.3276, allocations: 306.6 kB / 0.69 GB, free: 216 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3276, allocations: 4 kB / 0.69 GB, free: 212 kB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008293/0.3284, allocations: 428.4 kB / 0.6904 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.3285, allocations: 90.09 kB / 0.6905 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3285, allocations: 1.312 kB / 0.6905 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3285, allocations: 10.22 kB / 0.6905 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3287, allocations: 45.64 kB / 0.6905 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3287, allocations: 6.469 kB / 0.6905 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003342/0.3291, allocations: 62.77 kB / 0.6906 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.3291, allocations: 13.75 kB / 0.6906 GB, free: 15.78 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.0001484/0.3293, allocations: 163 kB / 0.6908 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.3293, allocations: 21.36 kB / 0.6908 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3293, allocations: 22.44 kB / 0.6908 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3293, allocations: 6.234 kB / 0.6908 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3294, allocations: 0 / 0.6908 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3294, allocations: 0 / 0.6908 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3304, allocations: 0.6154 MB / 0.6914 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3304, allocations: 1.312 kB / 0.6914 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.3305, allocations: 32.94 kB / 0.6915 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3305, allocations: 1.375 kB / 0.6915 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3306, allocations: 10.2 kB / 0.6915 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3306, allocations: 1.719 kB / 0.6915 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3306, allocations: 4 kB / 0.6915 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/0.3313, allocations: 343 kB / 0.6918 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.3313, allocations: 101.8 kB / 0.6919 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.088e-05/0.3314, allocations: 12.09 kB / 0.6919 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003142/0.3317, allocations: 46.44 kB / 0.6919 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.3318, allocations: 52.36 kB / 0.692 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.3318, allocations: 8.562 kB / 0.692 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000127/0.332, allocations: 144 kB / 0.6921 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.332, allocations: 3.938 kB / 0.6921 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002869/0.3323, allocations: 66.05 kB / 0.6922 GB, free: 14.54 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.001394/0.3336, allocations: 1.015 MB / 0.6932 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008321/0.3345, allocations: 415.3 kB / 0.6936 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3345, allocations: 4.062 kB / 0.6936 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.3348, allocations: 117.1 kB / 0.6937 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3352, allocations: 34.88 kB / 0.6937 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.339, allocations: 2.693 MB / 0.6964 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.3394, allocations: 0.7478 MB / 0.6971 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.758e-05/0.3395, allocations: 17.98 kB / 0.6971 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3396, allocations: 77.38 kB / 0.6972 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.3396, allocations: 0 / 0.6972 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.3677, allocations: 5.731 MB / 0.7028 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.416, allocations: 14.16 kB / 0.7028 GB, free: 7.586 MB / 0.5137 GB " [Timeout remaining time 653] (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 --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: 10.339962191002996]