Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.001397/0.001397, allocations: 113.1 kB / 17.08 MB, free: 6.016 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.001341/0.001341, allocations: 186.8 kB / 20.02 MB, free: 3.086 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.481/1.481, allocations: 222.9 MB / 245.7 MB, free: 4.23 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 1.071/1.071, allocations: 147.6 MB / 445.6 MB, free: 8.422 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.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.3198/0.3198, allocations: 61.91 kB / 0.6109 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.4923, allocations: 83.15 MB / 0.6921 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002573/0.495, allocations: 1.075 MB / 0.6932 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.4976, allocations: 1.589 MB / 0.6947 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.4978, allocations: 3.594 kB / 0.6947 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.498, allocations: 15.75 kB / 0.6947 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.4981, allocations: 43.23 kB / 0.6948 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.4988, allocations: 224.2 kB / 0.695 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.4992, allocations: 334.5 kB / 0.6953 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.4994, allocations: 96.97 kB / 0.6954 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.4996, allocations: 130.3 kB / 0.6955 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.4998, allocations: 120.4 kB / 0.6956 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.4998, allocations: 35.62 kB / 0.6957 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.4999, allocations: 47.86 kB / 0.6957 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.95e-05/0.5, allocations: 52.08 kB / 0.6958 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.5002, allocations: 127.1 kB / 0.6959 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.5006, allocations: 355.5 kB / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.5006, allocations: 0 / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5006, allocations: 0 / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.5006, allocations: 0.9688 kB / 0.6962 GB, free: 10.27 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001031/0.5017, allocations: 0.5583 MB / 0.6968 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5017, allocations: 8.938 kB / 0.6968 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.032e-05/0.5018, allocations: 47.11 kB / 0.6968 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.211e-05/0.5019, allocations: 26.52 kB / 0.6968 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004694/0.5024, allocations: 274 kB / 0.6971 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.5024, allocations: 18.5 kB / 0.6971 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.5025, allocations: 21.19 kB / 0.6971 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.5029, allocations: 192.8 kB / 0.6973 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5029, allocations: 0 / 0.6973 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.5029, allocations: 2.062 kB / 0.6973 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.503, allocations: 3.656 kB / 0.6973 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.5033, allocations: 134.1 kB / 0.6975 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.5043, allocations: 0.6429 MB / 0.6981 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.5048, allocations: 182.5 kB / 0.6983 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.505, allocations: 80.7 kB / 0.6983 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.505, allocations: 2.75 kB / 0.6983 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.5055, allocations: 211.1 kB / 0.6985 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.843e-06/0.5055, allocations: 0 / 0.6985 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0008025/0.5063, allocations: 333.5 kB / 0.6989 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.5063, allocations: 59.41 kB / 0.6989 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.5065, allocations: 190.9 kB / 0.6991 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.5066, allocations: 37.7 kB / 0.6991 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5067, allocations: 124.6 kB / 0.6993 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.299e-05/0.5068, allocations: 63.56 kB / 0.6993 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.5069, allocations: 73.69 kB / 0.6994 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5071, allocations: 330.8 kB / 0.6997 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.5073, allocations: 91.97 kB / 0.6998 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.5075, allocations: 145.8 kB / 0.6999 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.5078, allocations: 212.9 kB / 0.7001 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5078, allocations: 0 / 0.7001 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005495/0.5084, allocations: 335.3 kB / 0.7005 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/0.5084, allocations: 37.8 kB / 0.7005 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5084, allocations: 0 / 0.7005 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.5085, allocations: 4 kB / 0.7005 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5086, allocations: 27.92 kB / 0.7005 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.5086, allocations: 4 kB / 0.7005 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.5089, allocations: 55.73 kB / 0.7006 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.5089, allocations: 19.98 kB / 0.7006 GB, free: 6.078 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0001622/0.5091, allocations: 157.7 kB / 0.7007 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.5091, allocations: 15.91 kB / 0.7008 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/0.5097, allocations: 279.3 kB / 0.701 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5097, allocations: 0 / 0.701 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5097, allocations: 0 / 0.701 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5098, allocations: 4 kB / 0.701 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009506/0.5107, allocations: 0.6547 MB / 0.7017 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.5107, allocations: 0 / 0.7017 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.5108, allocations: 16 kB / 0.7017 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5108, allocations: 0 / 0.7017 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.5108, allocations: 15.92 kB / 0.7017 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5109, allocations: 0 / 0.7017 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5109, allocations: 0 / 0.7017 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005636/0.5114, allocations: 371.6 kB / 0.7021 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.5115, allocations: 93 kB / 0.7021 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.5116, allocations: 16 kB / 0.7022 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.5117, allocations: 11.98 kB / 0.7022 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.5118, allocations: 27.89 kB / 0.7022 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.5118, allocations: 15.94 kB / 0.7022 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001263/0.512, allocations: 136.2 kB / 0.7023 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.61e-07/0.512, allocations: 7.938 kB / 0.7024 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00033/0.5123, allocations: 63.89 kB / 0.7024 GB, free: 4.117 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0009568/0.5133, allocations: 0.9085 MB / 0.7033 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005806/0.5139, allocations: 311.1 kB / 0.7036 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5139, allocations: 0 / 0.7036 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.5141, allocations: 111.9 kB / 0.7037 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.5146, allocations: 49.73 kB / 0.7038 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003203/0.5178, allocations: 2.403 MB / 0.7061 GB, free: 212 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.5182, allocations: 0.7361 MB / 0.7068 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.5184, allocations: 25.94 kB / 0.7068 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5185, allocations: 63.41 kB / 0.7069 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.5185, allocations: 4 kB / 0.7069 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.5475, allocations: 5.102 MB / 0.7119 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.533, allocations: 8.062 kB / 0.7119 GB, free: 10.39 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.114850570913404] Failed to read output from testmodel.py, exit status != 0: 8.60474500991404 8.627282718 8.122662053 Calling exit ...