Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.001486/0.001486, allocations: 101.3 kB / 19.73 MB, free: 1.988 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.001687/0.001687, allocations: 217 kB / 23.03 MB, free: 4.426 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.633/2.633, allocations: 476.8 MB / 0.7715 GB, free: 3.918 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001984/0.001984, allocations: 74.19 kB / 1.118 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2948, allocations: 169.9 MB / 1.284 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003294/0.2981, allocations: 2.008 MB / 1.286 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.2992, allocations: 0.5728 MB / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2993, allocations: 4 kB / 1.287 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.2994, allocations: 27.67 kB / 1.287 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2995, allocations: 43.59 kB / 1.287 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2997, allocations: 91.88 kB / 1.287 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.3001, allocations: 283.3 kB / 1.287 GB, free: 328 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.3003, allocations: 92.2 kB / 1.287 GB, free: 232 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.3004, allocations: 127.5 kB / 1.287 GB, free: 104 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.3006, allocations: 139.4 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.3007, allocations: 28 kB / 1.287 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.444e-05/0.3007, allocations: 32 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.3008, allocations: 59.83 kB / 1.288 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3009, allocations: 103.5 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.3012, allocations: 302.8 kB / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3012, allocations: 0 / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3012, allocations: 0 / 1.288 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3013, allocations: 0 / 1.288 GB, free: 15.45 MB / 0.9981 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.00114/0.3024, allocations: 0.6045 MB / 1.289 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3024, allocations: 8.031 kB / 1.289 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.1e-05/0.3025, allocations: 16.61 kB / 1.289 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.034e-05/0.3025, allocations: 59.12 kB / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.902e-05/0.3026, allocations: 28.8 kB / 1.289 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.303, allocations: 211.5 kB / 1.289 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.303, allocations: 16.81 kB / 1.289 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.303, allocations: 36.11 kB / 1.289 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.3037, allocations: 372.5 kB / 1.289 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3037, allocations: 0 / 1.289 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.3038, allocations: 8 kB / 1.289 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3038, allocations: 4 kB / 1.289 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.3045, allocations: 217.6 kB / 1.289 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.3057, allocations: 0.5718 MB / 1.29 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.3064, allocations: 212 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.3067, allocations: 100.8 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3067, allocations: 4 kB / 1.29 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005149/0.3072, allocations: 202.9 kB / 1.291 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 2.284e-06/0.3072, allocations: 3.938 kB / 1.291 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.00166/0.3089, allocations: 0.5305 MB / 1.291 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.127e-05/0.309, allocations: 140.4 kB / 1.291 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.3092, allocations: 218.8 kB / 1.291 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.3092, allocations: 41.7 kB / 1.291 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3094, allocations: 156.8 kB / 1.292 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.3094, allocations: 71.47 kB / 1.292 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3095, allocations: 77.95 kB / 1.292 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3097, allocations: 334.8 kB / 1.292 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.3101, allocations: 209.3 kB / 1.292 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/0.3106, allocations: 350.8 kB / 1.293 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.3113, allocations: 339.6 kB / 1.293 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3113, allocations: 3.938 kB / 1.293 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001039/0.3124, allocations: 0.5291 MB / 1.293 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.3124, allocations: 99.28 kB / 1.293 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3124, allocations: 0 / 1.293 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3125, allocations: 8.031 kB / 1.294 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3127, allocations: 51.89 kB / 1.294 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3127, allocations: 3.984 kB / 1.294 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.3131, allocations: 60.09 kB / 1.294 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.3131, allocations: 8 kB / 1.294 GB, free: 9.195 MB / 0.9981 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 (39): * Single equations (assignments): 36 * 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.0001666/0.3132, allocations: 152.4 kB / 1.294 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3133, allocations: 27.8 kB / 1.294 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.781e-05/0.3134, allocations: 29.95 kB / 1.294 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3134, allocations: 8 kB / 1.294 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3134, allocations: 0 / 1.294 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3134, allocations: 3.984 kB / 1.294 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.3147, allocations: 0.6646 MB / 1.294 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.3147, allocations: 0 / 1.294 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.3149, allocations: 43.89 kB / 1.295 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3149, allocations: 0 / 1.295 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.3149, allocations: 11.98 kB / 1.295 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3149, allocations: 11.94 kB / 1.295 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3149, allocations: 0 / 1.295 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.3157, allocations: 410.5 kB / 1.295 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.3158, allocations: 19.86 kB / 1.295 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.3158, allocations: 11.98 kB / 1.295 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.3162, allocations: 51.94 kB / 1.295 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.3163, allocations: 59.84 kB / 1.295 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.3163, allocations: 11.98 kB / 1.295 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001336/0.3165, allocations: 148.7 kB / 1.295 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3165, allocations: 0 / 1.295 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000323/0.3168, allocations: 56 kB / 1.295 GB, free: 7.391 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 18 * 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.001526/0.3183, allocations: 1.092 MB / 1.296 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009741/0.3193, allocations: 0.5115 MB / 1.297 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3193, allocations: 0 / 1.297 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.3198, allocations: 151.8 kB / 1.297 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.3202, allocations: 43.83 kB / 1.297 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.3248, allocations: 3.188 MB / 1.3 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.325, allocations: 138.2 kB / 1.3 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.3251, allocations: 21.95 kB / 1.3 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3253, allocations: 83.39 kB / 1.3 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of SimCode: time 8.22e-07/0.3253, allocations: 0 / 1.3 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.3528, allocations: 6.615 MB / 1.307 GB, free: 11.46 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 2.062 kB / 1.307 GB, free: 11.46 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_MinimalFlowRate.fmu > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.684376206016168] Failed to read output from testmodel.py, exit status != 0: 11.84936787490733 11.87928957 11.572498315 Calling exit ...