Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001055/0.001055, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.691/1.691, allocations: 205.3 MB / 0.62 GB, free: 11.67 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009285/0.0009286, allocations: 94.05 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.473e-05/2.475e-05, allocations: 8 kB / 0.8518 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7888/0.7888, allocations: 115.3 MB / 0.9644 GB, free: 78.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2248/1.014, allocations: 137.3 MB / 1.098 GB, free: 2.602 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.014, allocations: 72.8 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007397/1.021, allocations: 2.475 MB / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/1.021, allocations: 0.9688 kB / 1.101 GB, free: 108 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.98e-05/1.022, allocations: 4 kB / 1.101 GB, free: 104 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006019/1.022, allocations: 360.4 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.022, allocations: 12.03 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/1.022, allocations: 9.438 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/1.022, allocations: 174.9 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/1.022, allocations: 1.312 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/1.022, allocations: 4 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000104/1.023, allocations: 20 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/1.023, allocations: 54.17 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.023, allocations: 0.9062 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/1.023, allocations: 1.031 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.023, allocations: 3.688 kB / 1.102 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/1.023, allocations: 286.9 kB / 1.102 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/1.024, allocations: 43.33 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/1.024, allocations: 17.64 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/1.024, allocations: 3.938 kB / 1.102 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/1.024, allocations: 73.56 kB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/1.024, allocations: 0 / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002331/1.024, allocations: 75.31 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/1.024, allocations: 56.75 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.024, allocations: 109 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.024, allocations: 29.27 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/1.024, allocations: 92.58 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.902e-05/1.024, allocations: 9.25 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/1.024, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001575/1.025, allocations: 326.8 kB / 1.103 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/1.025, allocations: 16.78 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.853e-05/1.025, allocations: 59.62 kB / 1.103 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/1.025, allocations: 42.69 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/1.025, allocations: 4 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004216/1.026, allocations: 121.4 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.026, allocations: 7.984 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.026, allocations: 0 / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.026, allocations: 4 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.026, allocations: 23.98 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/1.026, allocations: 4.219 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/1.026, allocations: 15.89 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/1.026, allocations: 4 kB / 1.103 GB, free: 13.89 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete 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.0001349/1.026, allocations: 114 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/1.026, allocations: 4 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/1.026, allocations: 8.625 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.026, allocations: 4 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/1.026, allocations: 0 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/1.026, allocations: 11.92 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/1.027, allocations: 322.9 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.027, allocations: 0 / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/1.027, allocations: 8 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.027, allocations: 0 / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.027, allocations: 9.672 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.027, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.027, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/1.027, allocations: 177.1 kB / 1.104 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/1.027, allocations: 77.11 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/1.027, allocations: 0 / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-05/1.027, allocations: 15.98 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/1.027, allocations: 11.92 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.027, allocations: 0 / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.142e-05/1.027, allocations: 93.58 kB / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.027, allocations: 0 / 1.104 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003016/1.028, allocations: 29.06 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/1.028, allocations: 111 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001532/1.028, allocations: 51.92 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.028, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.231e-05/1.028, allocations: 20.44 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/1.028, allocations: 15.95 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/1.029, allocations: 98.81 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/1.029, allocations: 0.6892 MB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.403e-05/1.029, allocations: 14.89 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/1.029, allocations: 11.44 kB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/1.029, allocations: 4 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.003661/1.033, allocations: 0.7889 MB / 1.105 GB, free: 11.13 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)