Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.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.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 285.4 MB / 298 MB, free: 5.98 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.001035/0.001035, allocations: 184.8 kB / 366.4 MB, free: 2.098 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.556/1.556, allocations: 205.1 MB / 0.6248 GB, free: 7.766 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.0008571/0.0008573, allocations: 89.12 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.104e-05/4.106e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.847/0.8471, allocations: 115.3 MB / 0.9709 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/1.053, allocations: 138.4 MB / 1.106 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.054, allocations: 71.95 kB / 1.106 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006493/1.06, allocations: 2.259 MB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/1.06, allocations: 0.6875 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.06, allocations: 0 / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000542/1.061, allocations: 401.9 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.061, allocations: 9.844 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.359e-05/1.061, allocations: 11.89 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/1.061, allocations: 176.8 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.061, allocations: 4 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/1.061, allocations: 12 kB / 1.109 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/1.061, allocations: 63.02 kB / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/1.061, allocations: 0 / 1.109 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/1.061, allocations: 4 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.061, allocations: 0 / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/1.061, allocations: 27.94 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/1.062, allocations: 346.8 kB / 1.109 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/1.062, allocations: 58.95 kB / 1.109 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/1.062, allocations: 16.98 kB / 1.109 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/1.062, allocations: 0 / 1.109 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/1.062, allocations: 72.89 kB / 1.109 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.314e-06/1.062, allocations: 0 / 1.109 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002371/1.063, allocations: 100.4 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/1.063, allocations: 55.36 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/1.063, allocations: 115.5 kB / 1.11 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/1.063, allocations: 29.7 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/1.063, allocations: 104 kB / 1.11 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/1.063, allocations: 15.8 kB / 1.11 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/1.063, allocations: 8 kB / 1.11 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.063, allocations: 322.8 kB / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.694e-05/1.063, allocations: 36 kB / 1.11 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/1.063, allocations: 77.14 kB / 1.11 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/1.064, allocations: 69.69 kB / 1.11 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.064, allocations: 0 / 1.11 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003259/1.064, allocations: 183.1 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/1.064, allocations: 39.11 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.064, allocations: 0 / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.064, allocations: 11.12 kB / 1.111 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/1.064, allocations: 21.95 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.064, allocations: 4 kB / 1.111 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/1.064, allocations: 47.91 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/1.064, allocations: 12 kB / 1.111 GB, free: 8.504 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition3,$PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001208/1.064, allocations: 122.5 kB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/1.064, allocations: 3.906 kB / 1.111 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001828/1.065, allocations: 102.2 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.065, allocations: 0 / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.065, allocations: 0 / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.065, allocations: 7.938 kB / 1.111 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/1.065, allocations: 358.5 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.065, allocations: 0 / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/1.065, allocations: 12 kB / 1.111 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.065, allocations: 0 / 1.111 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/1.065, allocations: 3.984 kB / 1.111 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.065, allocations: 4 kB / 1.111 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.065, allocations: 5.953 kB / 1.111 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/1.065, allocations: 187.4 kB / 1.111 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.629e-05/1.065, allocations: 85.02 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/1.065, allocations: 8 kB / 1.112 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/1.066, allocations: 7.984 kB / 1.112 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/1.066, allocations: 4 kB / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/1.066, allocations: 11.94 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.525e-05/1.066, allocations: 92.42 kB / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 0 / 1.112 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002634/1.066, allocations: 32 kB / 1.112 GB, free: 7.379 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002055/1.066, allocations: 111.2 kB / 1.112 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002787/1.066, allocations: 151.3 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/1.066, allocations: 1.781 kB / 1.112 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/1.067, allocations: 31.94 kB / 1.112 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/1.067, allocations: 14.72 kB / 1.112 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/1.067, allocations: 113.4 kB / 1.112 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/1.067, allocations: 0.6965 MB / 1.113 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.22e-05/1.067, allocations: 4 kB / 1.113 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/1.067, allocations: 7.438 kB / 1.113 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.067, allocations: 4 kB / 1.113 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of Templates: time 0.004142/1.072, allocations: 1.257 MB / 1.114 GB, free: 4.992 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler.pipe 2>&1)