Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001226/0.001226, allocations: 80.88 kB / 21.55 MB, free: 2.945 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.00233/0.00233, allocations: 165.5 kB / 24.97 MB, free: 8.656 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 1.02/1.02, allocations: 177.1 MB / 205.4 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.968/1.968, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.61e-05, allocations: 4.25 kB / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002112/0.002138, allocations: 0.8026 MB / 0.7768 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.00356, allocations: 1.118 MB / 0.7779 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.366e-05/0.003614, allocations: 3.938 kB / 0.7779 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.959e-05/0.003644, allocations: 3.938 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.873e-05/0.003732, allocations: 21.28 kB / 0.7779 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.004037, allocations: 49.83 kB / 0.7779 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.004166, allocations: 75.5 kB / 0.778 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.961e-05/0.004265, allocations: 28.08 kB / 0.778 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.004363, allocations: 31.97 kB / 0.7781 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.004419, allocations: 31.89 kB / 0.7781 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.004438, allocations: 4.812 kB / 0.7781 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.979e-05/0.004517, allocations: 19.98 kB / 0.7781 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.004541, allocations: 20.41 kB / 0.7781 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.00457, allocations: 16 kB / 0.7782 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.0047, allocations: 56.61 kB / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.004704, allocations: 0 / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004705, allocations: 0.5938 kB / 0.7782 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.00471, allocations: 0.7188 kB / 0.7782 GB, free: 3.105 MB / 0.7292 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.0003944/0.005104, allocations: 272.7 kB / 0.7785 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.005146, allocations: 14.78 kB / 0.7785 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.00518, allocations: 12.92 kB / 0.7785 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.92e-05/0.005279, allocations: 125.6 kB / 0.7786 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.005292, allocations: 8.375 kB / 0.7786 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.005304, allocations: 5.5 kB / 0.7786 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.005433, allocations: 62.94 kB / 0.7787 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.005441, allocations: 1.094 kB / 0.7787 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.005448, allocations: 384 / 0.7787 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.005455, allocations: 8.062 kB / 0.7787 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.867e-05/0.005484, allocations: 12.64 kB / 0.7787 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.005857, allocations: 193 kB / 0.7789 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.066e-05/0.005938, allocations: 27.2 kB / 0.7789 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.005958, allocations: 14.06 kB / 0.7789 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.005978, allocations: 4 kB / 0.7789 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.741e-05/0.006066, allocations: 63.44 kB / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.006067, allocations: 0.5938 kB / 0.779 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001327/0.0062, allocations: 58.47 kB / 0.7791 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.006236, allocations: 59.39 kB / 0.7791 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8e-05/0.006316, allocations: 122.7 kB / 0.7792 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.006334, allocations: 31.14 kB / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.006374, allocations: 92.06 kB / 0.7794 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.006398, allocations: 19.84 kB / 0.7794 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.006443, allocations: 30.34 kB / 0.7794 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.006534, allocations: 318.8 kB / 0.7797 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.006556, allocations: 8.672 kB / 0.7797 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.484e-05/0.006611, allocations: 57.92 kB / 0.7798 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.516e-05/0.006696, allocations: 72.41 kB / 0.7798 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.006699, allocations: 0.5 kB / 0.7798 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000125/0.006824, allocations: 80.06 kB / 0.7799 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.006839, allocations: 7.938 kB / 0.7799 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.006845, allocations: 4 kB / 0.7799 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.006859, allocations: 0.875 kB / 0.7799 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.006965, allocations: 27.92 kB / 0.78 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.00697, allocations: 4.625 kB / 0.78 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.007022, allocations: 7.953 kB / 0.78 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.007034, allocations: 4.688 kB / 0.78 GB, free: 1.129 MB / 0.7292 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 7.671e-05/0.007111, allocations: 123.5 kB / 0.7801 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.007123, allocations: 4 kB / 0.7801 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.338e-05/0.007147, allocations: 12.38 kB / 0.7801 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.00715, allocations: 0 / 0.7801 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.007152, allocations: 0 / 0.7801 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.191e-05/0.007164, allocations: 12.52 kB / 0.7801 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.007175, allocations: 1 kB / 0.7801 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.5e-05/0.0072, allocations: 4 kB / 0.7801 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.007234, allocations: 7.984 kB / 0.7801 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000101/0.007335, allocations: 129.5 kB / 0.7803 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001346/0.007469, allocations: 231.8 kB / 0.7805 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.243e-05/0.007512, allocations: 21.31 kB / 0.7805 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.327e-05/0.007535, allocations: 17.45 kB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of Backend: time 2.61e-07/0.007535, allocations: 0.8125 kB / 0.7805 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000312/0.007847, allocations: 101.8 kB / 0.7806 GB, free: 448 kB / 0.7292 GB Notification: Performance of SimCode: time 0.0005115/0.008359, allocations: 0.6582 MB / 0.7813 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.003072/0.01143, allocations: 1.188 MB / 0.7824 GB, free: 14.61 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.976414917968214]