Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.272/2.272, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001272/0.001272, allocations: 185 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.37/2.37, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.001333/0.001333, allocations: 97.23 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004917, allocations: 11.97 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2296, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2293/0.459, allocations: 131.1 MB / 1.028 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.4594, allocations: 79.95 kB / 1.028 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001907/0.4613, allocations: 0.5669 MB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4613, allocations: 0 / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.4613, allocations: 0 / 1.028 GB, free: 13.55 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004727/0.4618, allocations: 343.2 kB / 1.029 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.4619, allocations: 8.031 kB / 1.029 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.4619, allocations: 4.938 kB / 1.029 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4621, allocations: 164.4 kB / 1.029 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.4621, allocations: 384 / 1.029 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.4621, allocations: 8.375 kB / 1.029 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/0.4622, allocations: 38.19 kB / 1.029 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4623, allocations: 192 / 1.029 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4623, allocations: 3.938 kB / 1.029 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.4623, allocations: 0 / 1.029 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.4624, allocations: 11.94 kB / 1.029 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.4626, allocations: 157.7 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.282e-05/0.4627, allocations: 30.61 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.4627, allocations: 4.859 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.4627, allocations: 0 / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.4629, allocations: 51.47 kB / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.4629, allocations: 0 / 1.029 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0002154/0.4631, allocations: 65.45 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.4632, allocations: 63.41 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.675e-05/0.4633, allocations: 97.86 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.4633, allocations: 29.64 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.4634, allocations: 80.14 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.4634, allocations: 7.984 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.4634, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4636, allocations: 314.8 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.543e-05/0.4636, allocations: 4 kB / 1.03 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.123e-05/0.4637, allocations: 21.72 kB / 1.03 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.4637, allocations: 8.453 kB / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4637, allocations: 0 / 1.03 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000115/0.4639, allocations: 61.53 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4639, allocations: 9.812 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.4639, allocations: 3.984 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4639, allocations: 0 / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.702e-05/0.464, allocations: 4 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.464, allocations: 4.031 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.786e-05/0.4641, allocations: 11.94 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.4641, allocations: 0 / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001065/0.4642, allocations: 117.8 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.4643, allocations: 3.938 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.91e-05/0.4643, allocations: 3.5 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.4643, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.4643, allocations: 4 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4643, allocations: 11.94 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.4645, allocations: 153.7 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4645, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-06/0.4646, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/0.4646, allocations: 7.922 kB / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.4646, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4646, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4646, allocations: 0 / 1.03 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.4648, allocations: 77.06 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.4649, allocations: 85.02 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.889e-05/0.4649, allocations: 3.938 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.963e-05/0.465, allocations: 11.98 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.465, allocations: 0 / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.4651, allocations: 4 kB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.4651, allocations: 87.27 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4651, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002242/0.4654, allocations: 7.938 kB / 1.03 GB, free: 11.08 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 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001358/0.4655, allocations: 99.25 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.4656, allocations: 19.98 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4657, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.776e-05/0.4657, allocations: 11.94 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.466, allocations: 8 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.4663, allocations: 118.7 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.4666, allocations: 0.6809 MB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.637e-05/0.4667, allocations: 256 / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.4667, allocations: 7.438 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of SimCode: time 6.52e-07/0.4667, allocations: 7.938 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.003082/0.4698, allocations: 438.5 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)