Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.7 MB / 302.3 MB, free: 2.086 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.001019/0.001019, allocations: 184.7 kB / 371.6 MB, free: 3.367 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.505/1.505, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 89.12 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.323e-05/4.327e-05, allocations: 8 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.299, allocations: 116.3 MB / 0.9798 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9293/1.228, allocations: 138.9 MB / 1.115 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.229, allocations: 69.59 kB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005979/1.235, allocations: 2.494 MB / 1.118 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/1.235, allocations: 0 / 1.118 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.235, allocations: 0 / 1.118 GB, free: 43.25 MB / 0.7448 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.0004117/1.235, allocations: 360.3 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.235, allocations: 9.219 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/1.235, allocations: 10.25 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/1.235, allocations: 170.6 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/1.235, allocations: 12.55 kB / 1.119 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/1.235, allocations: 7.266 kB / 1.119 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/1.236, allocations: 54.77 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.236, allocations: 4.844 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.236, allocations: 0 / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.236, allocations: 4 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/1.236, allocations: 20.38 kB / 1.119 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/1.236, allocations: 313.8 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/1.236, allocations: 47.78 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/1.236, allocations: 20.92 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/1.236, allocations: 3.984 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/1.237, allocations: 65.92 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/1.237, allocations: 0 / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001842/1.237, allocations: 78.56 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/1.237, allocations: 55.41 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.8e-05/1.237, allocations: 117.5 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/1.237, allocations: 29.58 kB / 1.119 GB, free: 41.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/1.237, allocations: 87.2 kB / 1.119 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/1.237, allocations: 26.38 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/1.237, allocations: 0.9375 kB / 1.119 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.815e-05/1.237, allocations: 317.5 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.739e-05/1.237, allocations: 18.06 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/1.237, allocations: 66.83 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/1.237, allocations: 19.3 kB / 1.12 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.237, allocations: 4 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001467/1.237, allocations: 109.9 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.237, allocations: 8 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/1.237, allocations: 0 / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/1.237, allocations: 4 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/1.238, allocations: 20.61 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.238, allocations: 4.219 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.26e-05/1.238, allocations: 20.31 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/1.238, allocations: 7.953 kB / 1.12 GB, free: 41.2 MB / 0.7448 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 () * 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 5.794e-05/1.238, allocations: 115.1 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/1.238, allocations: 7.281 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/1.238, allocations: 9.219 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.238, allocations: 3.938 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/1.238, allocations: 5.062 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.238, allocations: 4 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/1.238, allocations: 347.1 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.238, allocations: 1.359 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/1.238, allocations: 15.31 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.238, allocations: 4 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/1.238, allocations: 0 / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.238, allocations: 0.625 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.238, allocations: 3.953 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/1.238, allocations: 180.5 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/1.238, allocations: 81.11 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/1.238, allocations: 0 / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/1.238, allocations: 12.25 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/1.239, allocations: 3.438 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.986e-06/1.239, allocations: 11.33 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.546e-05/1.239, allocations: 93.3 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/1.239, allocations: 1.031 kB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002242/1.239, allocations: 23.06 kB / 1.121 GB, free: 40.32 MB / 0.7448 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 () * 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.0001616/1.239, allocations: 116.2 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001226/1.239, allocations: 53.39 kB / 1.121 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.239, allocations: 0 / 1.121 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/1.239, allocations: 20.83 kB / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/1.239, allocations: 10.5 kB / 1.121 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/1.24, allocations: 113.2 kB / 1.121 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/1.24, allocations: 0.6948 MB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.195e-05/1.24, allocations: 7.469 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/1.24, allocations: 11.44 kB / 1.122 GB, free: 39.31 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.24, allocations: 4 kB / 1.122 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.002899/1.243, allocations: 0.8285 MB / 1.123 GB, free: 38.86 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)