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.0008085/0.0008085, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000828/0.000828, allocations: 169.9 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.888/0.888, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5308/0.5308, allocations: 114 MB / 373.9 MB, free: 8.684 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 1.543e-06/1.543e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.487e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001479/0.001494, allocations: 1.021 MB / 0.5552 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.00315, allocations: 1.607 MB / 0.5568 GB, free: 112 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.00328, allocations: 7.938 kB / 0.5568 GB, free: 104 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001326/0.003412, allocations: 19.73 kB / 0.5568 GB, free: 84 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.00353, allocations: 47.64 kB / 0.5568 GB, free: 36 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.004081, allocations: 232.4 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.004371, allocations: 335.1 kB / 0.5574 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.004513, allocations: 55.08 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.004701, allocations: 187.7 kB / 0.5576 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.004811, allocations: 91.73 kB / 0.5577 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.004845, allocations: 32 kB / 0.5577 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.929e-05/0.004914, allocations: 44 kB / 0.5578 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.004959, allocations: 55.81 kB / 0.5578 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.005043, allocations: 87.81 kB / 0.5579 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.005378, allocations: 398.8 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005381, allocations: 4 kB / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.273e-06/0.005382, allocations: 0 / 0.5583 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.005388, allocations: 0 / 0.5583 GB, free: 14.55 MB / 0.5261 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.0008236/0.006212, allocations: 479.8 kB / 0.5587 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.006262, allocations: 12.62 kB / 0.5588 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.017e-05/0.006302, allocations: 50.73 kB / 0.5588 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.006361, allocations: 24.8 kB / 0.5588 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.006641, allocations: 217.4 kB / 0.559 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.006663, allocations: 12.66 kB / 0.559 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.006696, allocations: 36.36 kB / 0.5591 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.006955, allocations: 172.4 kB / 0.5592 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.006963, allocations: 192 / 0.5592 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.006982, allocations: 12.11 kB / 0.5593 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.006987, allocations: 4 kB / 0.5593 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.007173, allocations: 132.7 kB / 0.5594 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.007829, allocations: 0.5425 MB / 0.5599 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.008126, allocations: 170.8 kB / 0.5601 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.008234, allocations: 72.83 kB / 0.5601 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.008256, allocations: 0 / 0.5601 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.008517, allocations: 207.1 kB / 0.5603 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.008519, allocations: 0 / 0.5603 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.0005/0.009019, allocations: 336.6 kB / 0.5607 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.009064, allocations: 59.41 kB / 0.5607 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.009202, allocations: 180.5 kB / 0.5609 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.009238, allocations: 41.7 kB / 0.5609 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.548e-05/0.009314, allocations: 124.6 kB / 0.5611 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.009356, allocations: 59.56 kB / 0.5611 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.009439, allocations: 77.69 kB / 0.5612 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.009527, allocations: 330.8 kB / 0.5615 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.009675, allocations: 137.5 kB / 0.5616 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.009837, allocations: 196.2 kB / 0.5618 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.01004, allocations: 220.8 kB / 0.562 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01004, allocations: 0 / 0.562 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003634/0.01041, allocations: 368.9 kB / 0.5624 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.01044, allocations: 39.83 kB / 0.5624 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01044, allocations: 8 kB / 0.5624 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.01045, allocations: 0 / 0.5624 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.01052, allocations: 27.92 kB / 0.5625 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.01053, allocations: 0 / 0.5625 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.01066, allocations: 59.73 kB / 0.5625 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.01068, allocations: 15.98 kB / 0.5625 GB, free: 9.938 MB / 0.5261 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.0001087/0.01079, allocations: 157.8 kB / 0.5627 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.01081, allocations: 19.84 kB / 0.5627 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.01115, allocations: 283.4 kB / 0.563 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01115, allocations: 0 / 0.563 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01115, allocations: 0 / 0.563 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01116, allocations: 4 kB / 0.563 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.0117, allocations: 0.6071 MB / 0.5636 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.0117, allocations: 0 / 0.5636 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/0.01174, allocations: 16 kB / 0.5636 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.01174, allocations: 0 / 0.5636 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01175, allocations: 11.98 kB / 0.5636 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.01176, allocations: 0 / 0.5636 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.01176, allocations: 0 / 0.5636 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.01206, allocations: 369.9 kB / 0.5639 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.01208, allocations: 19.89 kB / 0.564 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.462e-05/0.01211, allocations: 12 kB / 0.564 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.01218, allocations: 23.92 kB / 0.564 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.01224, allocations: 23.95 kB / 0.564 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.01226, allocations: 11.98 kB / 0.564 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.672e-05/0.01234, allocations: 135.5 kB / 0.5642 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01234, allocations: 0 / 0.5642 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00023/0.01257, allocations: 67.88 kB / 0.5642 GB, free: 8.121 MB / 0.5261 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.000558/0.01313, allocations: 0.9186 MB / 0.5651 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005716/0.0137, allocations: 321.1 kB / 0.5654 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.0137, allocations: 0 / 0.5654 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.01382, allocations: 95.89 kB / 0.5655 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01408, allocations: 35.97 kB / 0.5655 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.016, allocations: 2.54 MB / 0.568 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.423e-05/0.01608, allocations: 121 kB / 0.5681 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.905e-05/0.01615, allocations: 30.03 kB / 0.5682 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.137e-05/0.01623, allocations: 68.45 kB / 0.5682 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of SimCode: time 8.91e-07/0.01623, allocations: 0 / 0.5682 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/0.03284, allocations: 6.093 MB / 0.5742 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.726, allocations: 0.8125 kB / 0.5742 GB, free: 13.94 MB / 0.5417 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 & 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: 9.200000321492553] Failed to read output from testmodel.py, exit status != 0: 6.8069138983264565 6.816375173 6.809424396 Calling exit ...