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.743/1.743, allocations: 288.4 MB / 304.3 MB, free: 7.988 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.001039/0.001039, allocations: 187.9 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.748/1.748, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.000803/0.000803, allocations: 94.3 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005664/0.0005666, allocations: 11.59 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.235, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.001109/0.2362, allocations: 477.8 kB / 0.9812 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.2379, allocations: 1.138 MB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.2379, allocations: 0 / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.238, allocations: 3.938 kB / 0.9823 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.2381, allocations: 3.938 kB / 0.9823 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.2387, allocations: 117.2 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.2389, allocations: 111.7 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.239, allocations: 12.19 kB / 0.9826 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.769e-05/0.2391, allocations: 39.91 kB / 0.9826 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.2392, allocations: 43.81 kB / 0.9826 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.2393, allocations: 4 kB / 0.9826 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.498e-05/0.2393, allocations: 19.98 kB / 0.9827 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.2394, allocations: 7.984 kB / 0.9827 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.456e-05/0.2395, allocations: 73.48 kB / 0.9827 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.2396, allocations: 79.81 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.2397, allocations: 0 / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.687e-06/0.2397, allocations: 3.938 kB / 0.9828 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2397, allocations: 0 / 0.9828 GB, free: 25.21 MB / 0.6198 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.0005747/0.2403, allocations: 409.2 kB / 0.9832 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.2403, allocations: 8.031 kB / 0.9832 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.2404, allocations: 12.84 kB / 0.9832 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2405, allocations: 168.3 kB / 0.9834 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.2406, allocations: 8.375 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.2406, allocations: 8.375 kB / 0.9834 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.2409, allocations: 86.08 kB / 0.9835 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2409, allocations: 3.938 kB / 0.9835 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2409, allocations: 4 kB / 0.9835 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2409, allocations: 4 kB / 0.9835 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.2412, allocations: 55.95 kB / 0.9835 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.2418, allocations: 348.6 kB / 0.9839 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.242, allocations: 62.55 kB / 0.9839 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.2422, allocations: 44.95 kB / 0.984 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.2422, allocations: 0 / 0.984 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.2425, allocations: 91.34 kB / 0.9841 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.013e-06/0.2425, allocations: 0 / 0.9841 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005645/0.2431, allocations: 165.6 kB / 0.9842 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2432, allocations: 59.39 kB / 0.9843 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.2433, allocations: 113.8 kB / 0.9844 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.2433, allocations: 33.7 kB / 0.9844 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.2434, allocations: 104 kB / 0.9845 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.2434, allocations: 19.75 kB / 0.9845 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.2434, allocations: 0 / 0.9845 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.102e-05/0.2435, allocations: 326.8 kB / 0.9849 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.2437, allocations: 51.97 kB / 0.9849 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.2439, allocations: 103.2 kB / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.2443, allocations: 162.7 kB / 0.9852 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2443, allocations: 0 / 0.9852 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005461/0.2449, allocations: 227.1 kB / 0.9854 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.2449, allocations: 39.42 kB / 0.9854 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.2449, allocations: 4 kB / 0.9854 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.245, allocations: 0 / 0.9854 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.2451, allocations: 20.14 kB / 0.9854 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2451, allocations: 4 kB / 0.9854 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.2454, allocations: 47.86 kB / 0.9855 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.2455, allocations: 12 kB / 0.9855 GB, free: 22.18 MB / 0.6198 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 9.793e-05/0.2456, allocations: 136.7 kB / 0.9856 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.2456, allocations: 3.906 kB / 0.9856 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.246, allocations: 126 kB / 0.9857 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.246, allocations: 7.984 kB / 0.9858 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.246, allocations: 4 kB / 0.9858 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.2461, allocations: 84.98 kB / 0.9858 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.2461, allocations: 7.938 kB / 0.9858 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.2462, allocations: 11.98 kB / 0.9859 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.2463, allocations: 7.938 kB / 0.9859 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003701/0.2466, allocations: 208.9 kB / 0.9861 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003519/0.247, allocations: 299.1 kB / 0.9864 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001483/0.2472, allocations: 51.95 kB / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.2472, allocations: 91.77 kB / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of Backend: time 5.01e-07/0.2472, allocations: 4 kB / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007433/0.248, allocations: 234 kB / 0.9867 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005231/0.2485, allocations: 0.6327 MB / 0.9873 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.00458/0.2531, allocations: 1.38 MB / 0.9887 GB, free: 18.82 MB / 0.6198 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)