Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001139/0.001139, allocations: 171.4 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205 MB / 0.5767 GB, free: 21.01 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.0009307/0.0009307, allocations: 86.34 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003395/0.0003395, allocations: 8.5 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2622, allocations: 105.4 MB / 0.8968 GB, free: 68.13 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001755/0.264, allocations: 1.132 MB / 0.8979 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004475/0.2645, allocations: 185.1 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.2646, allocations: 0 / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.2646, allocations: 0 / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.717e-05/0.2647, allocations: 11.92 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.2649, allocations: 11.98 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.918e-05/0.265, allocations: 35.86 kB / 0.8981 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2651, allocations: 12 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.2652, allocations: 15.92 kB / 0.8981 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.2652, allocations: 7.938 kB / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.2653, allocations: 0 / 0.8981 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.2653, allocations: 4 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.2653, allocations: 11.92 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.2654, allocations: 11.94 kB / 0.8982 GB, free: 66.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.611e-05/0.2655, allocations: 36.08 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2655, allocations: 0 / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2655, allocations: 0 / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2655, allocations: 4 kB / 0.8982 GB, free: 66.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005352/0.266, allocations: 347.3 kB / 0.8985 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.2661, allocations: 8.031 kB / 0.8986 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.2661, allocations: 8.875 kB / 0.8986 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2663, allocations: 172.2 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2663, allocations: 4.375 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2663, allocations: 4.375 kB / 0.8987 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.2665, allocations: 66.17 kB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2665, allocations: 192 / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2665, allocations: 3.938 kB / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2666, allocations: 0 / 0.8988 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.2667, allocations: 51.97 kB / 0.8988 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/0.2672, allocations: 261 kB / 0.8991 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.2673, allocations: 62.41 kB / 0.8992 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.537e-05/0.2674, allocations: 33.81 kB / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.564e-05/0.2674, allocations: 0 / 0.8992 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.2677, allocations: 71.39 kB / 0.8993 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2677, allocations: 4 kB / 0.8993 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003632/0.268, allocations: 117.6 kB / 0.8994 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.2681, allocations: 59.34 kB / 0.8994 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.2681, allocations: 109.8 kB / 0.8995 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2682, allocations: 25.7 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.2682, allocations: 92.12 kB / 0.8996 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2682, allocations: 7.891 kB / 0.8997 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.2683, allocations: 17.72 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.2683, allocations: 310.8 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.051e-05/0.2684, allocations: 27.98 kB / 0.9 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.908e-05/0.2685, allocations: 46.55 kB / 0.9 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2687, allocations: 70.48 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2687, allocations: 3.938 kB / 0.9001 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002131/0.2689, allocations: 101.6 kB / 0.9002 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2689, allocations: 6.5 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2689, allocations: 0 / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.269, allocations: 4 kB / 0.9002 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.2691, allocations: 12 kB / 0.9002 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2691, allocations: 4.297 kB / 0.9002 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.2691, allocations: 16 kB / 0.9002 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2691, allocations: 0 / 0.9002 GB, free: 64.31 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: 4 (triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.2692, allocations: 121.7 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.2692, allocations: 4 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.2693, allocations: 7.891 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2693, allocations: 3.938 kB / 0.9004 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2693, allocations: 3.938 kB / 0.9004 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.2693, allocations: 81.11 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2693, allocations: 4 kB / 0.9005 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.2694, allocations: 7.984 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.2694, allocations: 12.06 kB / 0.9005 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002345/0.2697, allocations: 172.9 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002428/0.2699, allocations: 274.6 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.836e-05/0.27, allocations: 27.98 kB / 0.9009 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.2701, allocations: 91.25 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of Backend: time 4.91e-07/0.2701, allocations: 4 kB / 0.901 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.2705, allocations: 110.4 kB / 0.9011 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004037/0.2709, allocations: 0.5766 MB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.002735/0.2737, allocations: 0.5642 MB / 0.9022 GB, free: 62.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)