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.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.001202/0.001202, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008783/0.0008783, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.9227/0.9227, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5613/0.5613, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 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.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 3.807e-06/3.807e-06, allocations: 0 / 0.5542 GB, free: 1.695 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/3.17e-05, allocations: 3.547 kB / 0.5542 GB, free: 1.691 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.002372/0.002403, allocations: 1.007 MB / 0.5552 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.004919, allocations: 1.615 MB / 0.5568 GB, free: 15.05 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.005107, allocations: 7.938 kB / 0.5568 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.005281, allocations: 23.73 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.005461, allocations: 39.66 kB / 0.5568 GB, free: 14.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007616/0.006223, allocations: 226.5 kB / 0.557 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.006753, allocations: 331.2 kB / 0.5574 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.006955, allocations: 59.06 kB / 0.5574 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00031/0.007265, allocations: 183.7 kB / 0.5576 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.007446, allocations: 98.47 kB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.007506, allocations: 32 kB / 0.5577 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.00761, allocations: 47.98 kB / 0.5578 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.007669, allocations: 59.81 kB / 0.5578 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.007798, allocations: 95.8 kB / 0.5579 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.008281, allocations: 390.8 kB / 0.5583 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.008287, allocations: 0 / 0.5583 GB, free: 13.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.008289, allocations: 0 / 0.5583 GB, free: 13.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.008296, allocations: 0 / 0.5583 GB, free: 13.49 MB / 490.7 MB 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.000955/0.009251, allocations: 487.8 kB / 0.5587 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.009299, allocations: 12.62 kB / 0.5588 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.634e-05/0.009365, allocations: 54.67 kB / 0.5588 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.332e-05/0.009448, allocations: 28.8 kB / 0.5588 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.009852, allocations: 209.4 kB / 0.559 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.009891, allocations: 20.66 kB / 0.5591 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.009937, allocations: 24.36 kB / 0.5591 GB, free: 12.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.01033, allocations: 176.4 kB / 0.5592 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.01034, allocations: 192 / 0.5592 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.01037, allocations: 16.11 kB / 0.5593 GB, free: 12.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01038, allocations: 8 kB / 0.5593 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003126/0.01069, allocations: 132.7 kB / 0.5594 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.01176, allocations: 0.5308 MB / 0.5599 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004731/0.01224, allocations: 178.7 kB / 0.5601 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.0124, allocations: 72.83 kB / 0.5602 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.01242, allocations: 4 kB / 0.5602 GB, free: 11.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.0128, allocations: 198.4 kB / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.237e-06/0.01281, allocations: 0 / 0.5603 GB, free: 11.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.000735/0.01354, allocations: 337.3 kB / 0.5607 GB, free: 10.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.01359, allocations: 55.41 kB / 0.5607 GB, free: 10.83 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01373, allocations: 184 kB / 0.5609 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.01377, allocations: 45.7 kB / 0.5609 GB, free: 10.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.01384, allocations: 120.6 kB / 0.5611 GB, free: 10.47 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.01388, allocations: 67.56 kB / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.01396, allocations: 73.62 kB / 0.5612 GB, free: 10.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.01404, allocations: 330.8 kB / 0.5615 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.01419, allocations: 125.7 kB / 0.5616 GB, free: 9.867 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.01435, allocations: 204.2 kB / 0.5618 GB, free: 9.641 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.01456, allocations: 205 kB / 0.562 GB, free: 9.422 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01456, allocations: 4.031 kB / 0.562 GB, free: 9.418 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003792/0.01494, allocations: 376.9 kB / 0.5624 GB, free: 9.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.01497, allocations: 37.7 kB / 0.5624 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.01498, allocations: 0 / 0.5624 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01499, allocations: 4 kB / 0.5624 GB, free: 8.984 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.832e-05/0.01508, allocations: 27.92 kB / 0.5624 GB, free: 8.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01509, allocations: 4 kB / 0.5625 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.01523, allocations: 59.8 kB / 0.5625 GB, free: 8.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.01525, allocations: 15.98 kB / 0.5625 GB, free: 8.879 MB / 490.7 MB 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.0001238/0.01538, allocations: 153.8 kB / 0.5627 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.0154, allocations: 23.78 kB / 0.5627 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.01575, allocations: 286.7 kB / 0.563 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.01575, allocations: 4 kB / 0.563 GB, free: 8.418 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01576, allocations: 0 / 0.563 GB, free: 8.418 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01576, allocations: 4 kB / 0.563 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.01636, allocations: 0.6071 MB / 0.5636 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01636, allocations: 0 / 0.5636 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.0164, allocations: 8 kB / 0.5636 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.01641, allocations: 4 kB / 0.5636 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01642, allocations: 7.984 kB / 0.5636 GB, free: 7.738 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.01642, allocations: 4 kB / 0.5636 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01643, allocations: 0 / 0.5636 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.01673, allocations: 373.2 kB / 0.5639 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.162e-05/0.01675, allocations: 19.89 kB / 0.564 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.01678, allocations: 8 kB / 0.564 GB, free: 7.324 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.01686, allocations: 19.98 kB / 0.564 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.01691, allocations: 23.95 kB / 0.564 GB, free: 7.281 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.01693, allocations: 15.98 kB / 0.564 GB, free: 7.266 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.551e-05/0.01701, allocations: 124.8 kB / 0.5641 GB, free: 7.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01701, allocations: 0 / 0.5641 GB, free: 7.145 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003024/0.01731, allocations: 67.88 kB / 0.5642 GB, free: 7.078 MB / 490.7 MB 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.0005815/0.01789, allocations: 0.931 MB / 0.5651 GB, free: 6.125 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.01828, allocations: 305.4 kB / 0.5654 GB, free: 5.809 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01828, allocations: 0 / 0.5654 GB, free: 5.809 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.0184, allocations: 99.83 kB / 0.5655 GB, free: 5.711 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01868, allocations: 59.2 kB / 0.5656 GB, free: 5.656 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.02079, allocations: 2.536 MB / 0.568 GB, free: 2.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.303e-05/0.02087, allocations: 125.1 kB / 0.5682 GB, free: 2.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.158e-05/0.02096, allocations: 25.94 kB / 0.5682 GB, free: 2.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.02105, allocations: 64.47 kB / 0.5682 GB, free: 2.754 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/0.02105, allocations: 0 / 0.5682 GB, free: 2.754 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.04242, allocations: 6.086 MB / 0.5742 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.967/7.01, allocations: 14.08 kB / 0.5742 GB, free: 12.88 MB / 0.4948 GB " [Timeout remaining time 653] (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: 9.487156019546092] Failed to read output from testmodel.py, exit status != 0: 7.099572147242725 7.112051566 7.100975363 Calling exit ...