Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009262/0.0009259, allocations: 186.3 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007532/0.0007531, allocations: 93.8 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004154, allocations: 15.45 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2133, allocations: 106.3 MB / 0.9012 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.3704, allocations: 131.9 MB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.3706, allocations: 75.94 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002917/0.3736, allocations: 1.139 MB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3736, allocations: 0 / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.3736, allocations: 4 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004661/0.3741, allocations: 391 kB / 1.032 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3741, allocations: 12.03 kB / 1.032 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.3742, allocations: 8.844 kB / 1.032 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3743, allocations: 172.3 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3743, allocations: 384 / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.3744, allocations: 4.375 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.3746, allocations: 78.22 kB / 1.032 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.3746, allocations: 4.188 kB / 1.032 GB, free: 9.98 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.3746, allocations: 7.922 kB / 1.032 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3746, allocations: 4 kB / 1.032 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.3748, allocations: 67.83 kB / 1.032 GB, free: 9.902 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.3752, allocations: 312.6 kB / 1.032 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.3754, allocations: 70.55 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3755, allocations: 44.91 kB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.3756, allocations: 112 / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.3758, allocations: 91.3 kB / 1.032 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.3758, allocations: 4 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0004139/0.3762, allocations: 153.6 kB / 1.033 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.3763, allocations: 55.34 kB / 1.033 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.3763, allocations: 126 kB / 1.033 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.3764, allocations: 29.7 kB / 1.033 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.3764, allocations: 84.14 kB / 1.033 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3764, allocations: 19.81 kB / 1.033 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.3765, allocations: 7.938 kB / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.3766, allocations: 322.8 kB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.3767, allocations: 39.97 kB / 1.033 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3768, allocations: 64.27 kB / 1.033 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.377, allocations: 100.2 kB / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.377, allocations: 0 / 1.033 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002597/0.3773, allocations: 129.5 kB / 1.034 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3773, allocations: 8 kB / 1.034 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3773, allocations: 0 / 1.034 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3773, allocations: 8.031 kB / 1.034 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3774, allocations: 20.11 kB / 1.034 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3775, allocations: 7.984 kB / 1.034 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.3776, allocations: 27.83 kB / 1.034 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3776, allocations: 3.938 kB / 1.034 GB, free: 8.051 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 8.492e-05/0.3777, allocations: 123.5 kB / 1.034 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.3777, allocations: 4 kB / 1.034 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.378, allocations: 134.3 kB / 1.034 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.378, allocations: 0 / 1.034 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.378, allocations: 0 / 1.034 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.378, allocations: 3.938 kB / 1.034 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.3785, allocations: 410.4 kB / 1.034 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3785, allocations: 3.938 kB / 1.034 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.3786, allocations: 11.98 kB / 1.034 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3786, allocations: 4 kB / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3786, allocations: 0 / 1.034 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3786, allocations: 3.938 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3786, allocations: 4 kB / 1.034 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.3789, allocations: 223.3 kB / 1.035 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.3789, allocations: 81.11 kB / 1.035 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.379, allocations: 4 kB / 1.035 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.3791, allocations: 23.92 kB / 1.035 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.3791, allocations: 7.984 kB / 1.035 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3791, allocations: 0 / 1.035 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.3792, allocations: 99.2 kB / 1.035 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3792, allocations: 4 kB / 1.035 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003394/0.3796, allocations: 12 kB / 1.035 GB, free: 6.812 MB / 0.6823 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 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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.0001093/0.3797, allocations: 103.2 kB / 1.035 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3799, allocations: 87.89 kB / 1.035 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3799, allocations: 3.938 kB / 1.035 GB, free: 6.613 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.38, allocations: 43.97 kB / 1.035 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3803, allocations: 8.844 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.3807, allocations: 191.5 kB / 1.035 GB, free: 6.336 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.3809, allocations: 0.6887 MB / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.381, allocations: 7.984 kB / 1.036 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.381, allocations: 11.44 kB / 1.036 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.381, allocations: 7.938 kB / 1.036 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of Templates: time 0.002629/0.3836, allocations: 0.7782 MB / 1.037 GB, free: 4.832 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)