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.001679/0.001679, allocations: 111.6 kB / 17.07 MB, free: 6.012 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.001947/0.001947, allocations: 191.8 kB / 20.02 MB, free: 3.082 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.555/1.555, 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.114/1.114, allocations: 147.6 MB / 445.6 MB, free: 8.262 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.2886/0.2886, allocations: 68.75 kB / 0.6109 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.4503, allocations: 83.15 MB / 0.6921 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002603/0.4529, allocations: 1.064 MB / 0.6931 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002567/0.4555, allocations: 1.586 MB / 0.6947 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.4558, allocations: 10.69 kB / 0.6947 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.4559, allocations: 25.11 kB / 0.6947 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.4561, allocations: 34.41 kB / 0.6948 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006965/0.4568, allocations: 223 kB / 0.695 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000436/0.4573, allocations: 338 kB / 0.6953 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.4575, allocations: 89.88 kB / 0.6954 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.4577, allocations: 129 kB / 0.6955 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.4578, allocations: 116.7 kB / 0.6956 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.4579, allocations: 32.5 kB / 0.6956 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.458, allocations: 47.08 kB / 0.6957 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.4581, allocations: 65.62 kB / 0.6958 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.4582, allocations: 121.9 kB / 0.6959 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.4587, allocations: 359.7 kB / 0.6962 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4587, allocations: 0 / 0.6962 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4587, allocations: 0 / 0.6962 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.4587, allocations: 1.094 kB / 0.6962 GB, free: 10.24 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.0009368/0.4596, allocations: 0.5499 MB / 0.6968 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4597, allocations: 9.562 kB / 0.6968 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.4598, allocations: 50.86 kB / 0.6968 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.4598, allocations: 31.91 kB / 0.6968 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.4602, allocations: 268.8 kB / 0.6971 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.4603, allocations: 14.28 kB / 0.6971 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-05/0.4603, allocations: 32.86 kB / 0.6971 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.4607, allocations: 176.6 kB / 0.6973 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4607, allocations: 0 / 0.6973 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.4608, allocations: 16.09 kB / 0.6973 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.4608, allocations: 6.734 kB / 0.6973 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.4611, allocations: 130.8 kB / 0.6975 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.4621, allocations: 0.6379 MB / 0.6981 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.4625, allocations: 190 kB / 0.6983 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.4627, allocations: 80.98 kB / 0.6983 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.4628, allocations: 10.36 kB / 0.6983 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.4631, allocations: 196.9 kB / 0.6985 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=25): time 1.923e-06/0.4631, allocations: 3.938 kB / 0.6985 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=25): time 0.0007434/0.4639, allocations: 337.2 kB / 0.6989 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.464, allocations: 55.41 kB / 0.6989 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4641, allocations: 179 kB / 0.6991 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.4642, allocations: 45.7 kB / 0.6991 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4643, allocations: 128.6 kB / 0.6993 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.547e-05/0.4644, allocations: 63.58 kB / 0.6993 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.4645, allocations: 69.67 kB / 0.6994 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4647, allocations: 330.8 kB / 0.6997 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4649, allocations: 99.95 kB / 0.6998 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.4651, allocations: 145.7 kB / 0.6999 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.4654, allocations: 205 kB / 0.7001 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.4655, allocations: 0 / 0.7001 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005555/0.466, allocations: 339.3 kB / 0.7004 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.4661, allocations: 41.69 kB / 0.7005 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4661, allocations: 0 / 0.7005 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4661, allocations: 0 / 0.7005 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.4662, allocations: 31.92 kB / 0.7005 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.4662, allocations: 4 kB / 0.7005 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.4665, allocations: 55.73 kB / 0.7006 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.4666, allocations: 12.06 kB / 0.7006 GB, free: 6.074 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.0001717/0.4667, allocations: 165.7 kB / 0.7007 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.272e-05/0.4668, allocations: 15.91 kB / 0.7008 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005454/0.4673, allocations: 263.4 kB / 0.701 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4674, allocations: 8 kB / 0.701 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4674, allocations: 3.938 kB / 0.701 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.4674, allocations: 7.984 kB / 0.701 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009378/0.4683, allocations: 0.6547 MB / 0.7017 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.4683, allocations: 0 / 0.7017 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.4684, allocations: 15.98 kB / 0.7017 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4684, allocations: 0 / 0.7017 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.4685, allocations: 11.98 kB / 0.7017 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.4685, allocations: 0 / 0.7017 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4685, allocations: 0 / 0.7017 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005513/0.469, allocations: 371.3 kB / 0.702 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.4691, allocations: 89.02 kB / 0.7021 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.4691, allocations: 12 kB / 0.7021 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.4693, allocations: 19.97 kB / 0.7022 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.4694, allocations: 27.91 kB / 0.7022 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.4694, allocations: 19.92 kB / 0.7022 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001134/0.4696, allocations: 132.2 kB / 0.7023 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4696, allocations: 0 / 0.7023 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003355/0.4699, allocations: 67.83 kB / 0.7024 GB, free: 4.113 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.0009638/0.4709, allocations: 0.9124 MB / 0.7033 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006049/0.4715, allocations: 303.2 kB / 0.7036 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4715, allocations: 7.938 kB / 0.7036 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000241/0.4717, allocations: 111.9 kB / 0.7037 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004253/0.4722, allocations: 51.97 kB / 0.7037 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003132/0.4753, allocations: 2.399 MB / 0.7061 GB, free: 204 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.4757, allocations: 0.7361 MB / 0.7068 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000102/0.4758, allocations: 25.94 kB / 0.7068 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.476, allocations: 67.41 kB / 0.7069 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.476, allocations: 0 / 0.7069 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.5025, allocations: 5.112 MB / 0.7119 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/8.781, allocations: 5.266 kB / 0.7119 GB, free: 10.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.430308877956122] Failed to read output from testmodel.py, exit status != 0: 8.853745309868827 8.87838252 8.415083293 Calling exit ...