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.TriggeredMax.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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.713/1.713, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.001031/0.001032, allocations: 180.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.638/1.638, allocations: 205.4 MB / 0.6316 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.001229/0.001229, allocations: 102.3 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004549, allocations: 20.19 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2675, 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.TriggeredMax): time 0.0009718/0.2685, allocations: 441.9 kB / 0.9812 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.27, allocations: 1.173 MB / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.27, allocations: 0 / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.2701, allocations: 0 / 0.9823 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.389e-05/0.2701, allocations: 7.922 kB / 0.9823 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.2706, allocations: 127 kB / 0.9824 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.59e-05/0.2707, allocations: 87.81 kB / 0.9825 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.915e-05/0.2708, allocations: 11.98 kB / 0.9825 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.2709, allocations: 39.91 kB / 0.9826 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.271, allocations: 43.81 kB / 0.9826 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.271, allocations: 4 kB / 0.9826 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.595e-05/0.2711, allocations: 19.98 kB / 0.9826 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.2711, allocations: 7.984 kB / 0.9827 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.2711, allocations: 65.5 kB / 0.9827 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.999e-05/0.2712, allocations: 72.09 kB / 0.9828 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2713, allocations: 0 / 0.9828 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2713, allocations: 0 / 0.9828 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2713, allocations: 0 / 0.9828 GB, free: 25.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004748/0.2718, allocations: 400.9 kB / 0.9832 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2718, allocations: 8.031 kB / 0.9832 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/0.2719, allocations: 12.84 kB / 0.9832 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.792e-05/0.2719, allocations: 168.3 kB / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.272, allocations: 4.375 kB / 0.9833 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.272, allocations: 16.36 kB / 0.9834 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.2722, allocations: 74.14 kB / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2722, allocations: 4.172 kB / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2722, allocations: 7.938 kB / 0.9834 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2722, allocations: 4 kB / 0.9835 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.2724, allocations: 47.95 kB / 0.9835 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.2728, allocations: 320.8 kB / 0.9838 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.273, allocations: 62.48 kB / 0.9839 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.2731, allocations: 28.94 kB / 0.9839 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2731, allocations: 4 kB / 0.9839 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.2733, allocations: 87.36 kB / 0.984 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.2733, allocations: 0 / 0.984 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004537/0.2738, allocations: 157.6 kB / 0.9841 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.2738, allocations: 59.33 kB / 0.9842 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.2739, allocations: 117.8 kB / 0.9843 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2739, allocations: 25.7 kB / 0.9843 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.2739, allocations: 92.05 kB / 0.9844 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.274, allocations: 23.8 kB / 0.9844 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.022e-05/0.274, allocations: 4.375 kB / 0.9844 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/0.274, allocations: 318.8 kB / 0.9847 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2742, allocations: 55.95 kB / 0.9848 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.2743, allocations: 83.34 kB / 0.9849 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.2746, allocations: 141 kB / 0.985 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2746, allocations: 0 / 0.985 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003551/0.275, allocations: 203.2 kB / 0.9852 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.275, allocations: 35.58 kB / 0.9852 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.275, allocations: 8.062 kB / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.275, allocations: 3.938 kB / 0.9852 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.2751, allocations: 19.92 kB / 0.9853 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.2751, allocations: 0 / 0.9853 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.2753, allocations: 58.95 kB / 0.9853 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2754, allocations: 11.98 kB / 0.9853 GB, free: 22.37 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.booPul.y,booPul.y,$PRE.triggeredMax.y,triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.111e-05/0.2755, allocations: 124.2 kB / 0.9855 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.2755, allocations: 7.906 kB / 0.9855 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.2757, allocations: 125.9 kB / 0.9856 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2758, allocations: 3.984 kB / 0.9856 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2758, allocations: 4 kB / 0.9856 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.2758, allocations: 81.11 kB / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.2758, allocations: 4 kB / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.2759, allocations: 15.92 kB / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.2759, allocations: 4 kB / 0.9857 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002669/0.2762, allocations: 196.9 kB / 0.9859 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002482/0.2765, allocations: 295.1 kB / 0.9862 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.788e-05/0.2766, allocations: 40.05 kB / 0.9862 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.2766, allocations: 95.27 kB / 0.9863 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of Backend: time 4.7e-07/0.2766, allocations: 0 / 0.9863 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005332/0.2771, allocations: 221.9 kB / 0.9865 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000507/0.2777, allocations: 0.613 MB / 0.9871 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of Templates: time 0.00336/0.281, allocations: 1.352 MB / 0.9884 GB, free: 19.11 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)