Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.645/1.645, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.0009457/0.0009457, allocations: 176.5 kB / 372.9 MB, free: 10.16 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.55/1.55, allocations: 205.4 MB / 0.6317 GB, free: 9.918 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.0008875/0.0008874, allocations: 103 kB / 0.7451 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 11.94 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2399, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7941/1.034, allocations: 138.5 MB / 1.116 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.034, allocations: 75.92 kB / 1.116 GB, free: 16.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006506/1.041, allocations: 2.269 MB / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.694e-06/1.041, allocations: 0 / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.041, allocations: 0 / 1.118 GB, free: 31.88 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005071/1.041, allocations: 425.5 kB / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.042, allocations: 7.719 kB / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/1.042, allocations: 12.09 kB / 1.119 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/1.042, allocations: 179 kB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/1.042, allocations: 4.188 kB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/1.042, allocations: 12.06 kB / 1.119 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/1.042, allocations: 77.73 kB / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.042, allocations: 192 / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/1.042, allocations: 7.812 kB / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/1.042, allocations: 0 / 1.119 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/1.042, allocations: 64.92 kB / 1.119 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/1.043, allocations: 338.5 kB / 1.119 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/1.043, allocations: 73 kB / 1.119 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/1.043, allocations: 38.28 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/1.043, allocations: 3.875 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/1.043, allocations: 92.41 kB / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.863e-06/1.043, allocations: 0 / 1.12 GB, free: 30.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.000441/1.044, allocations: 167.4 kB / 1.12 GB, free: 30.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/1.044, allocations: 62.88 kB / 1.12 GB, free: 30.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.621e-05/1.044, allocations: 112.7 kB / 1.12 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/1.044, allocations: 32.89 kB / 1.12 GB, free: 30.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/1.044, allocations: 93.48 kB / 1.12 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/1.044, allocations: 21.05 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/1.044, allocations: 7.094 kB / 1.12 GB, free: 30.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.044, allocations: 320.7 kB / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/1.044, allocations: 60.03 kB / 1.12 GB, free: 30.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/1.045, allocations: 92.45 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/1.045, allocations: 162.5 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.045, allocations: 0 / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000394/1.045, allocations: 222.4 kB / 1.121 GB, free: 29.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.045, allocations: 42.52 kB / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.045, allocations: 3.875 kB / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.045, allocations: 0 / 1.121 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/1.045, allocations: 24.45 kB / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.045, allocations: 3.812 kB / 1.121 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/1.046, allocations: 55.8 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.046, allocations: 10.36 kB / 1.121 GB, free: 29.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001011/1.046, allocations: 124.9 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.265e-05/1.046, allocations: 9.188 kB / 1.121 GB, free: 29.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/1.046, allocations: 128.5 kB / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.046, allocations: 3.969 kB / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.046, allocations: 0 / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/1.046, allocations: 0 / 1.121 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/1.047, allocations: 392.5 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.047, allocations: 0 / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/1.047, allocations: 10.84 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.047, allocations: 3.875 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/1.047, allocations: 2.672 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.047, allocations: 0 / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.047, allocations: 3.938 kB / 1.122 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/1.047, allocations: 230.2 kB / 1.122 GB, free: 29.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.064e-05/1.047, allocations: 81.02 kB / 1.122 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/1.047, allocations: 0 / 1.122 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/1.047, allocations: 14.78 kB / 1.122 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/1.047, allocations: 18.33 kB / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/1.047, allocations: 3.844 kB / 1.122 GB, free: 29.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.959e-05/1.047, allocations: 90.95 kB / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.047, allocations: 0 / 1.122 GB, free: 29.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002575/1.047, allocations: 36.75 kB / 1.122 GB, free: 29.13 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001551/1.048, allocations: 110.3 kB / 1.122 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003588/1.048, allocations: 187 kB / 1.122 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.048, allocations: 0 / 1.122 GB, free: 28.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/1.048, allocations: 55.31 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/1.048, allocations: 14.86 kB / 1.122 GB, free: 28.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/1.049, allocations: 176 kB / 1.123 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/1.049, allocations: 0.6969 MB / 1.123 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.641e-05/1.049, allocations: 4.016 kB / 1.123 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/1.049, allocations: 11.25 kB / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/1.049, allocations: 0 / 1.123 GB, free: 28.11 MB / 0.698 GB Notification: Performance of Templates: time 0.003541/1.053, allocations: 1.289 MB / 1.125 GB, free: 27.99 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)