Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0008314/0.0008314, 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.0009004/0.0009004, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9391/0.9391, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5612/0.5612, allocations: 114 MB / 373.9 MB, free: 8.68 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.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.209e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001367/0.001389, allocations: 0.7196 MB / 0.5549 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002459, allocations: 1.085 MB / 0.556 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.002503, allocations: 0 / 0.556 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.981e-05/0.002533, allocations: 11.86 kB / 0.556 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.002597, allocations: 15.86 kB / 0.556 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.002907, allocations: 51.77 kB / 0.556 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.00301, allocations: 75.77 kB / 0.5561 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.00311, allocations: 8.188 kB / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.003194, allocations: 43.89 kB / 0.5562 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.003243, allocations: 31.89 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.003258, allocations: 11.94 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.003312, allocations: 15.98 kB / 0.5562 GB, free: 0.707 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.003333, allocations: 15.98 kB / 0.5562 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.003365, allocations: 23.91 kB / 0.5563 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003498, allocations: 83.73 kB / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.0035, allocations: 0 / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003501, allocations: 0 / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.003505, allocations: 0 / 0.5563 GB, free: 0.5859 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000435/0.00394, allocations: 302.1 kB / 0.5566 GB, free: 268 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.003982, allocations: 8.625 kB / 0.5566 GB, free: 260 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.004013, allocations: 38.75 kB / 0.5567 GB, free: 212 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.00404, allocations: 4.891 kB / 0.5567 GB, free: 208 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.023e-05/0.004121, allocations: 121.7 kB / 0.5568 GB, free: 60 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.004133, allocations: 8.312 kB / 0.5568 GB, free: 52 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.004144, allocations: 8.375 kB / 0.5568 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.004299, allocations: 66.22 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004306, allocations: 192 / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.004316, allocations: 4.375 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.004323, allocations: 7.938 kB / 0.5569 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.138e-05/0.004414, allocations: 47.89 kB / 0.5569 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.004853, allocations: 283.8 kB / 0.5572 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.004971, allocations: 62.48 kB / 0.5573 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.00502, allocations: 24.97 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.005039, allocations: 0 / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.005191, allocations: 83.41 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.005192, allocations: 0 / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0002664/0.005459, allocations: 129.6 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.005493, allocations: 55.34 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.005567, allocations: 129.5 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.005582, allocations: 33.7 kB / 0.5577 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.005624, allocations: 92.08 kB / 0.5578 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.00564, allocations: 15.84 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.005679, allocations: 33.7 kB / 0.5578 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/0.005759, allocations: 322.8 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.4e-05/0.005823, allocations: 27.97 kB / 0.5582 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.005898, allocations: 73.92 kB / 0.5582 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.006032, allocations: 113.9 kB / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.006034, allocations: 0 / 0.5583 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000179/0.006213, allocations: 133.4 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.006228, allocations: 12.22 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.006234, allocations: 0 / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.006246, allocations: 4 kB / 0.5585 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.948e-05/0.006326, allocations: 15.98 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.006331, allocations: 0 / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.006373, allocations: 15.98 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.006383, allocations: 4 kB / 0.5585 GB, free: 14.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 6.776e-05/0.00645, allocations: 125.7 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.006459, allocations: 7.953 kB / 0.5586 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.393e-05/0.006483, allocations: 16.42 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.006491, allocations: 4 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.006496, allocations: 0 / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.006499, allocations: 0 / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.006804, allocations: 341.5 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.006806, allocations: 3.938 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.565e-05/0.006832, allocations: 7.984 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.006835, allocations: 4 kB / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.006841, allocations: 0 / 0.559 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.006843, allocations: 4 kB / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.006844, allocations: 0 / 0.559 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.006999, allocations: 207.8 kB / 0.5592 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.007008, allocations: 11.95 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.00702, allocations: 7.938 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.117e-05/0.007061, allocations: 7.984 kB / 0.5592 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.007093, allocations: 3.984 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.007101, allocations: 7.938 kB / 0.5592 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.007137, allocations: 91.27 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007137, allocations: 4 kB / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001798/0.007317, allocations: 20 kB / 0.5594 GB, free: 13.18 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003932/0.00771, allocations: 0.7319 MB / 0.5601 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.007877, allocations: 84.19 kB / 0.5601 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007878, allocations: 4.062 kB / 0.5602 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.642e-05/0.007935, allocations: 27.98 kB / 0.5602 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.008137, allocations: 21.89 kB / 0.5602 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.009259, allocations: 1.525 MB / 0.5617 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.822e-05/0.009307, allocations: 67.34 kB / 0.5618 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.009338, allocations: 11.98 kB / 0.5618 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.009379, allocations: 20.5 kB / 0.5618 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.009379, allocations: 0 / 0.5618 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.0288, allocations: 2.821 MB / 0.5645 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.637, allocations: 13 kB / 0.5646 GB, free: 7.871 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_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_Sources_Validation_SampleTrigger.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.331514177843928] Failed to read output from testmodel.py, exit status != 0: 6.719570524059236 6.730369785 6.725234381 Calling exit ...