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.747/1.747, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001152/0.001151, allocations: 177 kB / 377.1 MB, free: 1.555 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.74/1.74, allocations: 205.4 MB / 0.6367 GB, free: 8.648 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.0008627/0.0008624, allocations: 93.48 kB / 0.751 GB, free: 63.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 11.98 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7054/0.9857, allocations: 139 MB / 1.124 GB, free: 35.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.9861, allocations: 73.94 kB / 1.124 GB, free: 35.57 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006105/0.9922, allocations: 2.493 MB / 1.127 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9922, allocations: 1.562 kB / 1.127 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.9922, allocations: 0 / 1.127 GB, free: 33.73 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.0005101/0.9928, allocations: 388.2 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9928, allocations: 8.031 kB / 1.127 GB, free: 33.32 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.9929, allocations: 10.91 kB / 1.127 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.993, allocations: 171.2 kB / 1.127 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.993, allocations: 4 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.993, allocations: 8.562 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.9932, allocations: 83.94 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.9932, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.9933, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.9933, allocations: 0.75 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.9934, allocations: 55.3 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005268/0.994, allocations: 323.7 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.9941, allocations: 55.31 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.9942, allocations: 4 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.9944, allocations: 77.95 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.9944, allocations: 0.6562 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004339/0.9948, allocations: 155.4 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.9949, allocations: 51.41 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.073e-05/0.995, allocations: 113 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.995, allocations: 29.7 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.9951, allocations: 91.61 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.9951, allocations: 15.81 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.9951, allocations: 4.844 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.9952, allocations: 322.3 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.9953, allocations: 34.98 kB / 1.129 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.9954, allocations: 77.28 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.9955, allocations: 46.78 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9956, allocations: 0 / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002948/0.9959, allocations: 143.1 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.9959, allocations: 8 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.9959, allocations: 0 / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.9959, allocations: 4.562 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.9961, allocations: 24.16 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9961, allocations: 7.953 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.9962, allocations: 8 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.9962, allocations: 4.062 kB / 1.129 GB, free: 31.4 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 ($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 9.009e-05/0.9963, allocations: 138 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.9963, allocations: 4.75 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.9964, allocations: 12.38 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9964, allocations: 0.625 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.9964, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9964, allocations: 2.016 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.9969, allocations: 389.9 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9969, allocations: 1.125 kB / 1.129 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.9969, allocations: 11.38 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.997, allocations: 0 / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.997, allocations: 4.844 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.997, allocations: 4 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.997, allocations: 3.375 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002707/0.9973, allocations: 214.3 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.9973, allocations: 89.02 kB / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.9973, allocations: 0 / 1.13 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.9974, allocations: 12.02 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.9975, allocations: 7.516 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.9975, allocations: 0 / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.544e-05/0.9976, allocations: 97.39 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9976, allocations: 0 / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002558/0.9978, allocations: 20 kB / 1.13 GB, free: 30.39 MB / 0.7292 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.0002199/0.9981, allocations: 122.5 kB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.9984, allocations: 85.75 kB / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9984, allocations: 448 / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.9985, allocations: 47.03 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.9987, allocations: 10.36 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.9991, allocations: 165.8 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.9993, allocations: 0.691 MB / 1.131 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.9993, allocations: 7.969 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.9994, allocations: 11.44 kB / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of SimCode: time 2.01e-07/0.9994, allocations: 0 / 1.131 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.00367/1.003, allocations: 0.8284 MB / 1.132 GB, free: 28.78 MB / 0.7292 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)