Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.573/2.573, allocations: 287.5 MB / 303.2 MB, free: 8.23 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.00134/0.001339, allocations: 179.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.21/2.21, allocations: 205.4 MB / 0.6305 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009741/0.0009735, allocations: 97.73 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006372/0.0006373, allocations: 12.48 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2176, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9189/1.137, allocations: 138.1 MB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/1.137, allocations: 79.88 kB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02904/1.166, allocations: 6.211 MB / 1.12 GB, free: 31.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.787e-06/1.166, allocations: 0 / 1.12 GB, free: 31.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.586e-05/1.166, allocations: 7.812 kB / 1.12 GB, free: 31.12 MB / 0.698 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.000982/1.167, allocations: 0.5786 MB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/1.167, allocations: 7.688 kB / 1.121 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/1.167, allocations: 35.88 kB / 1.121 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/1.168, allocations: 212.2 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/1.168, allocations: 15.88 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-05/1.168, allocations: 27.25 kB / 1.121 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/1.168, allocations: 126 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/1.168, allocations: 192 / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/1.168, allocations: 3.938 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.168, allocations: 7.969 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/1.168, allocations: 57.08 kB / 1.121 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/1.17, allocations: 0.8719 MB / 1.122 GB, free: 29.73 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/1.17, allocations: 130.5 kB / 1.122 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.645e-05/1.17, allocations: 49.14 kB / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/1.17, allocations: 0 / 1.122 GB, free: 29.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/1.17, allocations: 179.6 kB / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.876e-06/1.17, allocations: 0 / 1.123 GB, free: 29.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0007423/1.171, allocations: 219.8 kB / 1.123 GB, free: 29.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/1.171, allocations: 136.4 kB / 1.123 GB, free: 29.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/1.172, allocations: 242.2 kB / 1.123 GB, free: 29.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/1.172, allocations: 37.2 kB / 1.123 GB, free: 29.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.172, allocations: 131.7 kB / 1.123 GB, free: 29.06 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.512e-05/1.172, allocations: 37.47 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/1.172, allocations: 7.656 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.172, allocations: 339.7 kB / 1.124 GB, free: 28.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/1.173, allocations: 142 kB / 1.124 GB, free: 28.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/1.173, allocations: 223 kB / 1.124 GB, free: 28.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006667/1.174, allocations: 366.1 kB / 1.124 GB, free: 28.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.174, allocations: 3.844 kB / 1.124 GB, free: 28.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001439/1.175, allocations: 0.547 MB / 1.125 GB, free: 28.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/1.175, allocations: 141.1 kB / 1.125 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.176, allocations: 8.219 kB / 1.125 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.176, allocations: 3.812 kB / 1.125 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/1.176, allocations: 11.53 kB / 1.125 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.176, allocations: 6.844 kB / 1.125 GB, free: 28.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/1.177, allocations: 153.2 kB / 1.125 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/1.177, allocations: 28.78 kB / 1.125 GB, free: 28.05 MB / 0.698 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.0002862/1.177, allocations: 152.8 kB / 1.125 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/1.177, allocations: 26.44 kB / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/1.177, allocations: 17.31 kB / 1.125 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.178, allocations: 7.969 kB / 1.125 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.178, allocations: 4 kB / 1.125 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/1.178, allocations: 3.938 kB / 1.125 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/1.178, allocations: 255.5 kB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/1.178, allocations: 3.812 kB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.687e-05/1.178, allocations: 13.17 kB / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/1.178, allocations: 0 / 1.126 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/1.178, allocations: 11 kB / 1.126 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.178, allocations: 0 / 1.126 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.178, allocations: 7.781 kB / 1.126 GB, free: 27.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/1.178, allocations: 213.2 kB / 1.126 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.752e-05/1.179, allocations: 95.95 kB / 1.126 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/1.179, allocations: 10.11 kB / 1.126 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/1.179, allocations: 0 / 1.126 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/1.179, allocations: 27.95 kB / 1.126 GB, free: 27.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/1.179, allocations: 9.891 kB / 1.126 GB, free: 27.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000225/1.179, allocations: 164.4 kB / 1.126 GB, free: 27.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.179, allocations: 3.938 kB / 1.126 GB, free: 27.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006345/1.18, allocations: 72.62 kB / 1.126 GB, free: 27.39 MB / 0.698 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.0002083/1.18, allocations: 112.8 kB / 1.126 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001199/1.181, allocations: 0.5307 MB / 1.127 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.181, allocations: 0 / 1.127 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002215/1.181, allocations: 70 kB / 1.127 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/1.182, allocations: 64.06 kB / 1.127 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/1.183, allocations: 374.1 kB / 1.127 GB, free: 26.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/1.184, allocations: 0.7287 MB / 1.128 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001332/1.184, allocations: 16.45 kB / 1.128 GB, free: 26.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/1.184, allocations: 18.97 kB / 1.128 GB, free: 26.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.184, allocations: 0 / 1.128 GB, free: 26.08 MB / 0.698 GB Notification: Performance of Templates: time 0.01301/1.197, allocations: 4.21 MB / 1.132 GB, free: 25.73 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)