Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 293 MB / 309 MB, free: 4.832 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.001349/0.001349, allocations: 180.5 kB / 378.7 MB, free: 1.031 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.726/1.726, allocations: 205.4 MB / 0.6383 GB, free: 9.18 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.0007739/0.0007739, allocations: 88.8 kB / 0.7527 GB, free: 62.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 12 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2689, allocations: 116.4 MB / 0.9905 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7619/1.031, allocations: 139.3 MB / 1.127 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.031, allocations: 78.06 kB / 1.127 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01541/1.047, allocations: 6.199 MB / 1.133 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.208e-06/1.047, allocations: 0.6562 kB / 1.133 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.333e-05/1.047, allocations: 7.938 kB / 1.133 GB, free: 30.33 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007611/1.047, allocations: 0.5701 MB / 1.133 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.047, allocations: 12.03 kB / 1.133 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/1.048, allocations: 33.22 kB / 1.133 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/1.048, allocations: 220.6 kB / 1.133 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/1.048, allocations: 18.3 kB / 1.133 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.143e-05/1.048, allocations: 25.83 kB / 1.133 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/1.048, allocations: 118.8 kB / 1.134 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.048, allocations: 8.125 kB / 1.134 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/1.048, allocations: 13.69 kB / 1.134 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.048, allocations: 4 kB / 1.134 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/1.048, allocations: 50.33 kB / 1.134 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/1.05, allocations: 0.8672 MB / 1.135 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/1.05, allocations: 126.5 kB / 1.135 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.704e-05/1.05, allocations: 54.73 kB / 1.135 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/1.05, allocations: 0 / 1.135 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/1.05, allocations: 176.6 kB / 1.135 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/1.05, allocations: 0 / 1.135 GB, free: 28.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004622/1.051, allocations: 220.5 kB / 1.135 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/1.051, allocations: 134.6 kB / 1.135 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/1.051, allocations: 245.5 kB / 1.135 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/1.051, allocations: 37.7 kB / 1.135 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.138e-05/1.051, allocations: 134 kB / 1.136 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/1.051, allocations: 29.72 kB / 1.136 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/1.051, allocations: 12.7 kB / 1.136 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.832e-05/1.051, allocations: 333.2 kB / 1.136 GB, free: 26.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/1.052, allocations: 147 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/1.052, allocations: 224.1 kB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/1.052, allocations: 368.3 kB / 1.137 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.052, allocations: 0 / 1.137 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008483/1.053, allocations: 0.5531 MB / 1.137 GB, free: 25.62 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.812e-05/1.053, allocations: 136 kB / 1.137 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.053, allocations: 4.953 kB / 1.137 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.053, allocations: 11.94 kB / 1.137 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/1.053, allocations: 10.3 kB / 1.137 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.053, allocations: 9.656 kB / 1.137 GB, free: 25.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006307/1.054, allocations: 157.3 kB / 1.138 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/1.054, allocations: 20.92 kB / 1.138 GB, free: 25.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000182/1.054, allocations: 154.8 kB / 1.138 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/1.054, allocations: 20.42 kB / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/1.054, allocations: 25.61 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.054, allocations: 4.516 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.054, allocations: 4 kB / 1.138 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/1.054, allocations: 5.344 kB / 1.138 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002668/1.055, allocations: 261.7 kB / 1.138 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.055, allocations: 5.547 kB / 1.138 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/1.055, allocations: 9.359 kB / 1.138 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/1.055, allocations: 0 / 1.138 GB, free: 24.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/1.055, allocations: 9.406 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/1.055, allocations: 1.859 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.055, allocations: 4.5 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/1.055, allocations: 217.5 kB / 1.138 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/1.055, allocations: 94.66 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/1.055, allocations: 9.594 kB / 1.138 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.017e-05/1.055, allocations: 5.328 kB / 1.138 GB, free: 24.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.278e-05/1.055, allocations: 16.95 kB / 1.138 GB, free: 24.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/1.055, allocations: 14.16 kB / 1.138 GB, free: 24.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001453/1.055, allocations: 167 kB / 1.139 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/1.055, allocations: 0 / 1.139 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003848/1.056, allocations: 69.97 kB / 1.139 GB, free: 24.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000177/1.056, allocations: 124.6 kB / 1.139 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006379/1.057, allocations: 0.5294 MB / 1.139 GB, free: 23.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.057, allocations: 3.938 kB / 1.139 GB, free: 23.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/1.057, allocations: 66.22 kB / 1.139 GB, free: 23.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/1.057, allocations: 60.94 kB / 1.139 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/1.058, allocations: 376.4 kB / 1.14 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/1.058, allocations: 0.7292 MB / 1.14 GB, free: 22.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.603e-05/1.058, allocations: 18.25 kB / 1.14 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/1.058, allocations: 20.19 kB / 1.14 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.058, allocations: 0 / 1.14 GB, free: 22.3 MB / 0.7292 GB Notification: Performance of Templates: time 0.0102/1.068, allocations: 4.249 MB / 1.145 GB, free: 19.96 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)