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.33/1.33, allocations: 252 MB / 267.9 MB, free: 10.92 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.0009733/0.0009733, allocations: 180.2 kB / 327.6 MB, free: 2.16 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.635/1.635, allocations: 205.4 MB / 0.5785 GB, free: 20.5 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.0008128/0.0008126, allocations: 85.7 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003959/0.0003959, allocations: 13.41 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 106.3 MB / 0.9013 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.3271, allocations: 131.6 MB / 1.03 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.3273, allocations: 79.94 kB / 1.03 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001813/0.3292, allocations: 0.7521 MB / 1.031 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3292, allocations: 4 kB / 1.031 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3292, allocations: 0 / 1.031 GB, free: 11.42 MB / 0.6823 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.0003914/0.3296, allocations: 347.4 kB / 1.031 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3296, allocations: 12.03 kB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.3297, allocations: 4.844 kB / 1.031 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3298, allocations: 164.4 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.3298, allocations: 4.375 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3298, allocations: 8.375 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.33, allocations: 54.23 kB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.33, allocations: 4.125 kB / 1.031 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.33, allocations: 7.922 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3301, allocations: 4 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3302, allocations: 47.97 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.3306, allocations: 272.8 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.3307, allocations: 50.5 kB / 1.032 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.3308, allocations: 36.86 kB / 1.032 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3308, allocations: 0 / 1.032 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.331, allocations: 75.39 kB / 1.032 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.3311, allocations: 0 / 1.032 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003418/0.3314, allocations: 113.6 kB / 1.032 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3315, allocations: 55.41 kB / 1.032 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.3315, allocations: 109.8 kB / 1.032 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3316, allocations: 29.7 kB / 1.032 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.3316, allocations: 88.05 kB / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.3317, allocations: 3.906 kB / 1.032 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.3317, allocations: 4 kB / 1.032 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3318, allocations: 322.8 kB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.3319, allocations: 27.98 kB / 1.032 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.572e-05/0.332, allocations: 38.56 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.3322, allocations: 82.41 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3322, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001957/0.3324, allocations: 93.59 kB / 1.033 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3324, allocations: 8 kB / 1.033 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3324, allocations: 0 / 1.033 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3324, allocations: 3.938 kB / 1.033 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.221e-05/0.3325, allocations: 15.98 kB / 1.033 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3325, allocations: 320 / 1.033 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.617e-05/0.3326, allocations: 20.02 kB / 1.033 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.3326, allocations: 0 / 1.033 GB, free: 9.113 MB / 0.6823 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 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.675e-05/0.3327, allocations: 117.8 kB / 1.033 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.3327, allocations: 3.906 kB / 1.033 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.3328, allocations: 11.91 kB / 1.033 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3328, allocations: 0 / 1.033 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3328, allocations: 0 / 1.033 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3328, allocations: 0 / 1.033 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.3332, allocations: 342.5 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3332, allocations: 0 / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.921e-05/0.3332, allocations: 11.98 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3333, allocations: 4 kB / 1.033 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.3333, allocations: 4.125 kB / 1.033 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3333, allocations: 4 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3333, allocations: 0 / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.3335, allocations: 195.4 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.3336, allocations: 85.02 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.3336, allocations: 288 / 1.033 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.3337, allocations: 11.98 kB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3337, allocations: 4 kB / 1.033 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3337, allocations: 3.938 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.774e-05/0.3338, allocations: 87.25 kB / 1.033 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3338, allocations: 4 kB / 1.033 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001953/0.334, allocations: 12 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001131/0.3341, allocations: 103.2 kB / 1.034 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001963/0.3343, allocations: 60.02 kB / 1.034 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3343, allocations: 5.75 kB / 1.034 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.3344, allocations: 35.91 kB / 1.034 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3346, allocations: 4 kB / 1.034 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.3349, allocations: 141.8 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3352, allocations: 0.6809 MB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.3352, allocations: 0 / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.3352, allocations: 11.44 kB / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.3352, allocations: 0 / 1.034 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of Templates: time 0.002175/0.3374, allocations: 490.2 kB / 1.035 GB, free: 6.559 MB / 0.6823 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)