Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.831/1.831, allocations: 288.3 MB / 303.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 183.3 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009459/0.0009461, allocations: 94.88 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004008/0.0004008, allocations: 11.69 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2738, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8451/1.119, allocations: 138 MB / 1.114 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.119, allocations: 70.53 kB / 1.114 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007736/1.127, allocations: 2.499 MB / 1.117 GB, free: 31.94 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.462e-06/1.127, allocations: 0 / 1.117 GB, free: 31.94 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.761e-06/1.127, allocations: 0 / 1.117 GB, free: 31.94 MB / 0.698 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.000428/1.128, allocations: 390.3 kB / 1.117 GB, free: 31.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.128, allocations: 7.719 kB / 1.117 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/1.128, allocations: 7.875 kB / 1.117 GB, free: 31.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/1.128, allocations: 172.2 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/1.128, allocations: 9.391 kB / 1.117 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.128, allocations: 7.156 kB / 1.117 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/1.128, allocations: 70.83 kB / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/1.128, allocations: 0 / 1.117 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/1.128, allocations: 7.188 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.128, allocations: 0 / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/1.128, allocations: 52.33 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/1.129, allocations: 318.5 kB / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/1.129, allocations: 62.2 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/1.129, allocations: 4 kB / 1.118 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/1.129, allocations: 81.08 kB / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/1.129, allocations: 0 / 1.118 GB, free: 30.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003796/1.13, allocations: 143.8 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/1.13, allocations: 61.52 kB / 1.118 GB, free: 30.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/1.13, allocations: 111.9 kB / 1.118 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/1.13, allocations: 25.7 kB / 1.118 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/1.13, allocations: 90.45 kB / 1.118 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/1.13, allocations: 19 kB / 1.118 GB, free: 30.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/1.13, allocations: 7.375 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.13, allocations: 320.2 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/1.13, allocations: 37.78 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/1.13, allocations: 79.61 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/1.13, allocations: 45.72 kB / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.13, allocations: 0 / 1.119 GB, free: 30.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002792/1.131, allocations: 143.8 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/1.131, allocations: 3.875 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.131, allocations: 3.812 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/1.131, allocations: 0 / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/1.131, allocations: 22.64 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.131, allocations: 6.953 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/1.131, allocations: 7.656 kB / 1.119 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/1.131, allocations: 18.47 kB / 1.119 GB, free: 30.19 MB / 0.698 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/1.131, allocations: 125.3 kB / 1.119 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/1.131, allocations: 10.44 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/1.131, allocations: 7.438 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.131, allocations: 3.844 kB / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/1.131, allocations: 0 / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.131, allocations: 0 / 1.119 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/1.131, allocations: 387.5 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.131, allocations: 7.859 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/1.132, allocations: 10.78 kB / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.132, allocations: 0 / 1.119 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.132, allocations: 4 kB / 1.119 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.132, allocations: 6.672 kB / 1.119 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/1.132, allocations: 0 / 1.119 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/1.132, allocations: 211.6 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/1.132, allocations: 92.03 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/1.132, allocations: 0 / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/1.132, allocations: 11.11 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/1.132, allocations: 3.875 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/1.132, allocations: 0 / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.79e-05/1.132, allocations: 100.5 kB / 1.12 GB, free: 29.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.132, allocations: 7.844 kB / 1.12 GB, free: 29.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002537/1.132, allocations: 11.5 kB / 1.12 GB, free: 29.42 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/1.133, allocations: 120.4 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002464/1.133, allocations: 86.39 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/1.133, allocations: 4.375 kB / 1.12 GB, free: 29.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.907e-05/1.133, allocations: 39.06 kB / 1.12 GB, free: 29.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/1.133, allocations: 22.97 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/1.133, allocations: 170.1 kB / 1.12 GB, free: 29.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/1.134, allocations: 0.6891 MB / 1.121 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.253e-05/1.134, allocations: 6.984 kB / 1.121 GB, free: 28.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/1.134, allocations: 11.28 kB / 1.121 GB, free: 28.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.134, allocations: 3.844 kB / 1.121 GB, free: 28.46 MB / 0.698 GB Notification: Performance of Templates: time 0.002592/1.136, allocations: 0.8245 MB / 1.122 GB, free: 28.39 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)