Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.781/1.781, allocations: 287.4 MB / 303.2 MB, free: 8.211 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.001151/0.001151, allocations: 181.5 kB / 371.8 MB, free: 10.8 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.794/1.794, allocations: 205.4 MB / 0.6304 GB, free: 10.53 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.0007369/0.0007369, allocations: 89.36 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005951/0.0005952, allocations: 11.97 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2811, allocations: 115.3 MB / 0.9793 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.0008381/0.282, allocations: 473.6 kB / 0.9797 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.2833, allocations: 1.133 MB / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.2833, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.2834, allocations: 0 / 0.9809 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.2835, allocations: 11.92 kB / 0.9809 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005322/0.284, allocations: 123.7 kB / 0.981 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2841, allocations: 103.7 kB / 0.9811 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2842, allocations: 20.19 kB / 0.9811 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.408e-05/0.2843, allocations: 39.89 kB / 0.9811 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.2844, allocations: 35.83 kB / 0.9812 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.2844, allocations: 8 kB / 0.9812 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.268e-05/0.2845, allocations: 19.98 kB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.2845, allocations: 7.984 kB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.2846, allocations: 37.64 kB / 0.9812 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.2847, allocations: 87.8 kB / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2847, allocations: 0 / 0.9813 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2847, allocations: 4 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2847, allocations: 0 / 0.9813 GB, free: 26.04 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.000497/0.2852, allocations: 405.2 kB / 0.9817 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2853, allocations: 11.97 kB / 0.9817 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.2853, allocations: 8.844 kB / 0.9817 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.2854, allocations: 168.3 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.2854, allocations: 4.375 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.2855, allocations: 16.36 kB / 0.9819 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.2857, allocations: 82.16 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2857, allocations: 3.938 kB / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2857, allocations: 0 / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.2857, allocations: 3.938 kB / 0.982 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.2859, allocations: 63.94 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.2864, allocations: 344.6 kB / 0.9824 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.2866, allocations: 71.42 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.2868, allocations: 36.95 kB / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.2868, allocations: 0 / 0.9825 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.2871, allocations: 99.39 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.2871, allocations: 0 / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0005092/0.2876, allocations: 165.5 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.2876, allocations: 59.41 kB / 0.9828 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.753e-05/0.2877, allocations: 117.8 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.2878, allocations: 29.7 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.2878, allocations: 96.03 kB / 0.983 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2879, allocations: 19.75 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/0.2879, allocations: 4 kB / 0.9831 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.288, allocations: 326.8 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2882, allocations: 55.97 kB / 0.9834 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2884, allocations: 101 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/0.2887, allocations: 158.7 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2887, allocations: 3.938 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003747/0.2891, allocations: 223.2 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.2891, allocations: 33.7 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2891, allocations: 4 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2891, allocations: 0 / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.2893, allocations: 19.92 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2893, allocations: 4 kB / 0.9839 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.2895, allocations: 55.89 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.2895, allocations: 8 kB / 0.984 GB, free: 23.02 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 7.96e-05/0.2896, allocations: 129.8 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.077e-05/0.2896, allocations: 3.906 kB / 0.9841 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.2899, allocations: 134 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2899, allocations: 3.984 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2899, allocations: 4 kB / 0.9843 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.49e-05/0.2899, allocations: 85.05 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.29, allocations: 3.938 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.333e-05/0.29, allocations: 15.98 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.2901, allocations: 8 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002678/0.2903, allocations: 208.9 kB / 0.9846 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002467/0.2906, allocations: 303.1 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.871e-05/0.2907, allocations: 43.97 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.2908, allocations: 91.22 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of Backend: time 5.41e-07/0.2908, allocations: 7.938 kB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.2913, allocations: 233.7 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004152/0.2917, allocations: 0.6209 MB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.003318/0.295, allocations: 1.376 MB / 0.9872 GB, free: 19.67 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)