Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001207/0.001207, allocations: 185 kB / 377.1 MB, free: 1.527 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.702/1.702, allocations: 205.4 MB / 0.6367 GB, free: 8.52 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.0008269/0.0008268, allocations: 93.92 kB / 0.751 GB, free: 63.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.0005565, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3439, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.947/1.291, allocations: 139.4 MB / 1.125 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.291, allocations: 70.97 kB / 1.125 GB, free: 35.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006278/1.298, allocations: 2.273 MB / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.564e-06/1.298, allocations: 0 / 1.127 GB, free: 33.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.024e-05/1.298, allocations: 4 kB / 1.127 GB, free: 33.64 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004514/1.298, allocations: 412.1 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.298, allocations: 8.031 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/1.298, allocations: 11.41 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/1.298, allocations: 166.9 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/1.298, allocations: 11.94 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/1.298, allocations: 19.09 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/1.299, allocations: 72.11 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.299, allocations: 1.078 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.299, allocations: 0 / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/1.299, allocations: 0 / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/1.299, allocations: 70.23 kB / 1.128 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/1.299, allocations: 341.2 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/1.3, allocations: 69.69 kB / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/1.3, allocations: 0 / 1.128 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/1.3, allocations: 101.1 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/1.3, allocations: 4.562 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004416/1.3, allocations: 162.9 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/1.3, allocations: 62.92 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/1.3, allocations: 104.7 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/1.3, allocations: 33.7 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/1.301, allocations: 92.05 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/1.301, allocations: 24.39 kB / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/1.301, allocations: 0 / 1.129 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.998e-05/1.301, allocations: 322.2 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/1.301, allocations: 58.45 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/1.301, allocations: 91.56 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/1.301, allocations: 84.78 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/1.301, allocations: 0 / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004611/1.302, allocations: 229.1 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/1.302, allocations: 42.08 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.302, allocations: 4 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.302, allocations: 1.188 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/1.302, allocations: 15.61 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/1.302, allocations: 4.859 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/1.302, allocations: 59.22 kB / 1.129 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/1.302, allocations: 12 kB / 1.129 GB, free: 30.98 MB / 0.7292 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 8.901e-05/1.302, allocations: 125.8 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/1.302, allocations: 7.562 kB / 1.13 GB, free: 30.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/1.303, allocations: 124.7 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.303, allocations: 7.609 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/1.303, allocations: 0.5625 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.303, allocations: 4 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/1.303, allocations: 387.9 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.303, allocations: 1.078 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/1.303, allocations: 15.28 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/1.303, allocations: 4 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.303, allocations: 1.344 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/1.303, allocations: 0 / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.303, allocations: 3.281 kB / 1.13 GB, free: 30.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/1.303, allocations: 230.4 kB / 1.13 GB, free: 30.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/1.303, allocations: 84.44 kB / 1.13 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/1.303, allocations: 4 kB / 1.13 GB, free: 29.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/1.304, allocations: 11.56 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/1.304, allocations: 4.562 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/1.304, allocations: 7.328 kB / 1.13 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.787e-05/1.304, allocations: 96.47 kB / 1.13 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.304, allocations: 4 kB / 1.13 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002752/1.304, allocations: 31.94 kB / 1.131 GB, free: 29.83 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 ($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.0001975/1.304, allocations: 107.4 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003618/1.305, allocations: 192.8 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.305, allocations: 0 / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/1.305, allocations: 51.59 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/1.305, allocations: 8.438 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/1.305, allocations: 186.6 kB / 1.131 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/1.306, allocations: 0.6961 MB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.872e-05/1.306, allocations: 4 kB / 1.132 GB, free: 28.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/1.306, allocations: 11.44 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/1.306, allocations: 4 kB / 1.132 GB, free: 28.58 MB / 0.7292 GB Notification: Performance of Templates: time 0.003707/1.309, allocations: 1.251 MB / 1.133 GB, free: 27.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)