Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.282/2.282, allocations: 251.1 MB / 266.7 MB, free: 11.59 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.001337/0.001336, allocations: 175 kB / 326.2 MB, free: 2.883 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.48/2.48, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0008942/0.000894, allocations: 85.94 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004871/0.0004874, allocations: 11.47 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2358, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler): time 0.002604/0.2384, allocations: 1.176 MB / 0.9007 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008718/0.2394, allocations: 232.3 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2395, allocations: 0 / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.2396, allocations: 7.875 kB / 0.9009 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.2397, allocations: 11.92 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.24, allocations: 19.97 kB / 0.9009 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.2402, allocations: 63.78 kB / 0.901 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2404, allocations: 20.17 kB / 0.901 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.912e-05/0.2405, allocations: 15.94 kB / 0.901 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.644e-05/0.2406, allocations: 31.84 kB / 0.901 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.2407, allocations: 0 / 0.901 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.2407, allocations: 4 kB / 0.901 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.738e-05/0.2408, allocations: 7.984 kB / 0.9011 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.2408, allocations: 37.64 kB / 0.9011 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.241, allocations: 43.89 kB / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.241, allocations: 0 / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.435e-06/0.241, allocations: 0 / 0.9011 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.2411, allocations: 0 / 0.9011 GB, free: 63.84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009107/0.242, allocations: 387.5 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.2421, allocations: 8.031 kB / 0.9015 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.2422, allocations: 8.844 kB / 0.9015 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2424, allocations: 172.3 kB / 0.9017 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2424, allocations: 4.375 kB / 0.9017 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.2425, allocations: 12.38 kB / 0.9017 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.2429, allocations: 78.16 kB / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.243, allocations: 3.938 kB / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.243, allocations: 4 kB / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2431, allocations: 0 / 0.9018 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.2436, allocations: 67.89 kB / 0.9018 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.2445, allocations: 304.6 kB / 0.9021 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.245, allocations: 74.55 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2453, allocations: 44.94 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/0.2454, allocations: 0 / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004915/0.2459, allocations: 91.34 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 4.258e-06/0.2459, allocations: 4 kB / 0.9023 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001028/0.2469, allocations: 161.4 kB / 0.9025 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.247, allocations: 55.41 kB / 0.9025 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.2472, allocations: 113.8 kB / 0.9027 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.2472, allocations: 25.7 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.2473, allocations: 107.8 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.2474, allocations: 15.8 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.2474, allocations: 4 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.2475, allocations: 330.8 kB / 0.9031 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.2478, allocations: 27.98 kB / 0.9031 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.2481, allocations: 68.27 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.2484, allocations: 39.91 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.2484, allocations: 0 / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006831/0.2491, allocations: 133.5 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.2492, allocations: 4 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.2492, allocations: 0 / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.2492, allocations: 8.109 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.2495, allocations: 27.98 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.2495, allocations: 8 kB / 0.9034 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.2498, allocations: 15.98 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.2498, allocations: 0 / 0.9034 GB, free: 61.25 MB / 0.6042 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 0.0001396/0.25, allocations: 127.8 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.25, allocations: 7.906 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007095/0.2508, allocations: 137.9 kB / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.2508, allocations: 0 / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2508, allocations: 0 / 0.9037 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.2509, allocations: 81.02 kB / 0.9038 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.2509, allocations: 7.938 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2512, allocations: 15.98 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.2513, allocations: 7.984 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008045/0.2521, allocations: 216.8 kB / 0.904 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006847/0.2528, allocations: 298.7 kB / 0.9043 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002895/0.2531, allocations: 43.91 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.337e-05/0.2532, allocations: 91.59 kB / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of Backend: time 1.152e-06/0.2532, allocations: 0 / 0.9044 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009378/0.2542, allocations: 134.3 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000801/0.255, allocations: 0.6132 MB / 0.9052 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.005904/0.2609, allocations: 0.8691 MB / 0.906 GB, free: 58.52 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)