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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 293 MB / 309 MB, free: 4.777 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.001433/0.001432, allocations: 176.6 kB / 378.7 MB, free: 1.02 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.741/1.741, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.000808/0.0008083, allocations: 90.77 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004223, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2625, allocations: 116.4 MB / 0.9905 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7267/0.9892, allocations: 139 MB / 1.126 GB, free: 34.77 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.9895, allocations: 78.39 kB / 1.126 GB, free: 34.7 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006188/0.9957, allocations: 2.51 MB / 1.129 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.437e-06/0.9958, allocations: 3.938 kB / 1.129 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.9958, allocations: 0 / 1.129 GB, free: 32.86 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.0005458/0.9964, allocations: 381.7 kB / 1.129 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.9964, allocations: 12.03 kB / 1.129 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.9965, allocations: 8.844 kB / 1.129 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.9966, allocations: 167.9 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.9966, allocations: 8.375 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.9966, allocations: 5.656 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.9968, allocations: 76.89 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.9969, allocations: 2.25 kB / 1.129 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.9969, allocations: 11.88 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.9969, allocations: 4 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.9971, allocations: 50.41 kB / 1.129 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.9976, allocations: 316.2 kB / 1.13 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.9978, allocations: 66.98 kB / 1.13 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.9979, allocations: 32.5 kB / 1.13 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.998, allocations: 3.422 kB / 1.13 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.9982, allocations: 81.69 kB / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.9982, allocations: 0 / 1.13 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004983/0.9987, allocations: 159 kB / 1.13 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.9988, allocations: 51.41 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.9989, allocations: 119.2 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.9989, allocations: 29.7 kB / 1.13 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.999, allocations: 95.61 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.999, allocations: 11.81 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.999, allocations: 0 / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/0.9991, allocations: 326.4 kB / 1.131 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.9992, allocations: 35.17 kB / 1.131 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.9993, allocations: 73.78 kB / 1.131 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.9995, allocations: 125.1 kB / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9995, allocations: 0 / 1.131 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002912/0.9998, allocations: 139.5 kB / 1.131 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9999, allocations: 8 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9999, allocations: 0 / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9999, allocations: 4 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/1, allocations: 28.81 kB / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/1, allocations: 0 / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.399e-05/1, allocations: 23.33 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/1, allocations: 8 kB / 1.131 GB, free: 30.37 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 7.558e-05/1, allocations: 125.7 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/1, allocations: 4.469 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/1, allocations: 13.03 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/1, allocations: 0 / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1, allocations: 0 / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1, allocations: 7.359 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/1.001, allocations: 381.5 kB / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.001, allocations: 0 / 1.132 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/1.001, allocations: 11.47 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/1.001, allocations: 1.062 kB / 1.132 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/1.001, allocations: 15.55 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/1.001, allocations: 0 / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.001, allocations: 4.438 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/1.001, allocations: 218 kB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.442e-05/1.001, allocations: 81.02 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/1.001, allocations: 0.9375 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/1.001, allocations: 12.03 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/1.001, allocations: 11.5 kB / 1.132 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/1.001, allocations: 0 / 1.132 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.591e-05/1.001, allocations: 95.83 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.001, allocations: 0 / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002521/1.002, allocations: 16 kB / 1.132 GB, free: 29.36 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.0001827/1.002, allocations: 123.2 kB / 1.132 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002872/1.002, allocations: 91.03 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.002, allocations: 4.062 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/1.002, allocations: 39.92 kB / 1.132 GB, free: 29.13 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/1.003, allocations: 10.5 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/1.003, allocations: 165 kB / 1.133 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/1.003, allocations: 0.6955 MB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.151e-05/1.003, allocations: 7.516 kB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/1.003, allocations: 11.44 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/1.003, allocations: 0 / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.00346/1.007, allocations: 0.8444 MB / 1.134 GB, free: 27.74 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)