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.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.001762/0.001762, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002222/0.002222, allocations: 213.5 kB / 22.99 MB, free: 4.605 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.423/1.423, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9337/0.9337, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(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: IBPSA 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.00292/0.00292, allocations: 70.78 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1882, allocations: 89.18 MB / 0.7282 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.00407/0.1923, allocations: 2.017 MB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1936, allocations: 0.5961 MB / 0.7308 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.1938, allocations: 4 kB / 0.7308 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.194, allocations: 31.59 kB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.1942, allocations: 47.59 kB / 0.7308 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1945, allocations: 107.9 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004492/0.1949, allocations: 303.3 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1952, allocations: 92.75 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.1954, allocations: 135.5 kB / 0.7315 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.1956, allocations: 123.4 kB / 0.7316 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.537e-05/0.1957, allocations: 32 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.765e-05/0.1958, allocations: 28 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.1959, allocations: 71.81 kB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.196, allocations: 119.4 kB / 0.7318 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.1964, allocations: 318.8 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1964, allocations: 4 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1965, allocations: 4 kB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.1965, allocations: 7.875 kB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001435/0.1979, allocations: 0.6163 MB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1979, allocations: 8.031 kB / 0.7327 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.1981, allocations: 67.11 kB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.1982, allocations: 32.75 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.1986, allocations: 206.7 kB / 0.733 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.1987, allocations: 28.36 kB / 0.7331 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-05/0.1987, allocations: 28 kB / 0.7331 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007907/0.1995, allocations: 423 kB / 0.7335 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1995, allocations: 0 / 0.7335 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.1996, allocations: 8 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1996, allocations: 4 kB / 0.7335 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.2003, allocations: 213.6 kB / 0.7337 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.2019, allocations: 0.5961 MB / 0.7343 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.2026, allocations: 214.3 kB / 0.7345 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.2029, allocations: 89.09 kB / 0.7346 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.2029, allocations: 4 kB / 0.7346 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/0.2035, allocations: 201.9 kB / 0.7348 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.793e-06/0.2035, allocations: 4 kB / 0.7348 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.001189/0.2047, allocations: 354.8 kB / 0.7351 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.2048, allocations: 140.5 kB / 0.7353 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.2051, allocations: 231.1 kB / 0.7355 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.2051, allocations: 37.7 kB / 0.7355 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.2053, allocations: 168.7 kB / 0.7357 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.2053, allocations: 55.58 kB / 0.7357 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2055, allocations: 73.69 kB / 0.7358 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2056, allocations: 334.8 kB / 0.7361 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.2061, allocations: 209.3 kB / 0.7363 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.2066, allocations: 366.9 kB / 0.7367 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.2074, allocations: 319.1 kB / 0.737 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2074, allocations: 0 / 0.737 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0011/0.2085, allocations: 0.5179 MB / 0.7375 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.889e-05/0.2086, allocations: 97.12 kB / 0.7376 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2086, allocations: 4 kB / 0.7376 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.2087, allocations: 3.938 kB / 0.7376 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.2089, allocations: 47.89 kB / 0.7376 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2089, allocations: 0 / 0.7376 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.2093, allocations: 71.72 kB / 0.7377 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.2093, allocations: 16 kB / 0.7377 GB, free: 6.809 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,ySetOn.y,$PRE.ySetOn.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.canOpe,minFloRatSaf.errAndSetOn.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 (36): * Single equations (assignments): 33 * 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.0001808/0.2095, allocations: 160.3 kB / 0.7379 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.2096, allocations: 23.86 kB / 0.7379 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.2096, allocations: 25.97 kB / 0.7379 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.2097, allocations: 11.97 kB / 0.7379 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.2097, allocations: 3.984 kB / 0.7379 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.2097, allocations: 0 / 0.7379 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.211, allocations: 0.5774 MB / 0.7385 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.211, allocations: 0 / 0.7385 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.2112, allocations: 31.97 kB / 0.7385 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.2112, allocations: 3.938 kB / 0.7385 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.2112, allocations: 7.984 kB / 0.7385 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2112, allocations: 0 / 0.7385 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2112, allocations: 4 kB / 0.7385 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.2121, allocations: 369.2 kB / 0.7389 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.2121, allocations: 23.8 kB / 0.7389 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.775e-05/0.2122, allocations: 15.92 kB / 0.7389 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.2125, allocations: 51.94 kB / 0.739 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.2127, allocations: 51.91 kB / 0.739 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.2127, allocations: 15.98 kB / 0.739 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001599/0.2129, allocations: 144.7 kB / 0.7392 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2129, allocations: 0 / 0.7392 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003363/0.2132, allocations: 71.88 kB / 0.7392 GB, free: 5.168 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,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,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * 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.001644/0.2149, allocations: 1.027 MB / 0.7402 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.2159, allocations: 0.5087 MB / 0.7407 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2159, allocations: 3.938 kB / 0.7407 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.2163, allocations: 119.8 kB / 0.7409 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2167, allocations: 34.84 kB / 0.7409 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.222, allocations: 3.111 MB / 0.7439 GB, free: 84 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2222, allocations: 142.2 kB / 0.7441 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000162/0.2223, allocations: 25.94 kB / 0.7441 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.2226, allocations: 87.39 kB / 0.7442 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.2226, allocations: 3.938 kB / 0.7442 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.2596, allocations: 6.993 MB / 0.751 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.23, allocations: 11 kB / 0.751 GB, free: 9.031 MB / 0.5762 GB " [Timeout remaining time 649] (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: 15.240800240077078] Failed to read output from testmodel.py, exit status != 0: 11.33924248907715 11.709579752 11.510624363 Calling exit ...