Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.338/2.338, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001365/0.001365, allocations: 180.3 kB / 326.3 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.478/2.478, allocations: 205.4 MB / 0.5772 GB, free: 20.75 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.0008423/0.000842, allocations: 85.75 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.000517, allocations: 12.34 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2234, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001789/0.2252, allocations: 1.143 MB / 0.9006 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006113/0.2259, allocations: 257.3 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.2259, allocations: 0 / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.226, allocations: 7.938 kB / 0.9009 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.2261, allocations: 4 kB / 0.9009 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.2263, allocations: 31.91 kB / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.2264, allocations: 51.84 kB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.2265, allocations: 15.92 kB / 0.901 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.2266, allocations: 23.91 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.2267, allocations: 19.92 kB / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.2267, allocations: 0 / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.563e-05/0.2268, allocations: 4 kB / 0.901 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.2268, allocations: 11.92 kB / 0.901 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.2268, allocations: 33.7 kB / 0.9011 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.903e-05/0.2269, allocations: 35.91 kB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2269, allocations: 0 / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2269, allocations: 0 / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.227, allocations: 4 kB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007479/0.2277, allocations: 385.5 kB / 0.9015 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.2278, allocations: 8.031 kB / 0.9015 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.2278, allocations: 4.938 kB / 0.9015 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.228, allocations: 176.2 kB / 0.9017 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.228, allocations: 4.375 kB / 0.9017 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.228, allocations: 4.375 kB / 0.9017 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003037/0.2283, allocations: 74.2 kB / 0.9017 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.2284, allocations: 4.188 kB / 0.9017 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.2284, allocations: 7.938 kB / 0.9017 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2284, allocations: 0 / 0.9017 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003157/0.2287, allocations: 51.95 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.2292, allocations: 296.8 kB / 0.9021 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.2295, allocations: 54.55 kB / 0.9021 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.2298, allocations: 36.97 kB / 0.9022 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2298, allocations: 4.062 kB / 0.9022 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003068/0.2301, allocations: 95.3 kB / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.925e-06/0.2301, allocations: 0 / 0.9023 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006322/0.2308, allocations: 141.5 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.2308, allocations: 51.41 kB / 0.9024 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.351e-05/0.2309, allocations: 113.8 kB / 0.9026 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.2309, allocations: 29.7 kB / 0.9026 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.231, allocations: 96.03 kB / 0.9027 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.231, allocations: 19.8 kB / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.231, allocations: 0 / 0.9027 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.2311, allocations: 322.8 kB / 0.903 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.2314, allocations: 31.97 kB / 0.903 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.2316, allocations: 58.48 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.2318, allocations: 35.91 kB / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2318, allocations: 0 / 0.9031 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004246/0.2323, allocations: 117.6 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2323, allocations: 9.562 kB / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2323, allocations: 0 / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2323, allocations: 0 / 0.9032 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.2325, allocations: 15.98 kB / 0.9033 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.2325, allocations: 8.031 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2327, allocations: 19.83 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2327, allocations: 4.188 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,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 (9): * Single equations (assignments): 9 * 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 9.349e-05/0.2328, allocations: 123.8 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.2329, allocations: 15.92 kB / 0.9034 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/0.2334, allocations: 114 kB / 0.9035 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2334, allocations: 4 kB / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2335, allocations: 0 / 0.9035 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.618e-05/0.2335, allocations: 81.02 kB / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.2335, allocations: 0 / 0.9036 GB, free: 61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2337, allocations: 23.97 kB / 0.9036 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.2338, allocations: 11.94 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005182/0.2343, allocations: 204.8 kB / 0.9038 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004331/0.2348, allocations: 282.8 kB / 0.9041 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001831/0.235, allocations: 36.84 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.235, allocations: 95.25 kB / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of Backend: time 8.51e-07/0.235, allocations: 0 / 0.9042 GB, free: 60.33 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005637/0.2356, allocations: 122.3 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005461/0.2362, allocations: 0.6167 MB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of Templates: time 0.003837/0.24, allocations: 0.8249 MB / 0.9058 GB, free: 58.71 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.pipe 2>&1)