Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001476/0.001477, allocations: 185.1 kB / 377.1 MB, free: 1.512 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.787/1.787, allocations: 205.4 MB / 0.6367 GB, free: 8.633 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.0008895/0.0008894, allocations: 93.7 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004706, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3147, allocations: 116.3 MB / 0.9884 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8482/1.163, allocations: 139.3 MB / 1.124 GB, free: 35.4 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/1.163, allocations: 70.55 kB / 1.125 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0883/1.252, allocations: 17.35 MB / 1.141 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.206e-06/1.252, allocations: 0 / 1.141 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.423e-05/1.252, allocations: 4 kB / 1.141 GB, free: 23.27 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.002615/1.254, allocations: 1.005 MB / 1.142 GB, free: 22.17 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.373e-05/1.254, allocations: 8.031 kB / 1.142 GB, free: 22.16 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/1.255, allocations: 67.61 kB / 1.143 GB, free: 22.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/1.256, allocations: 215.2 kB / 1.143 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/1.256, allocations: 39.66 kB / 1.143 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007177/1.257, allocations: 67.09 kB / 1.143 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005615/1.257, allocations: 209.3 kB / 1.143 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/1.257, allocations: 0 / 1.143 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.873e-05/1.257, allocations: 7.375 kB / 1.143 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/1.257, allocations: 4 kB / 1.143 GB, free: 21.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/1.257, allocations: 72.28 kB / 1.143 GB, free: 21.47 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/1.26, allocations: 0.8434 MB / 1.144 GB, free: 20.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/1.261, allocations: 335.3 kB / 1.144 GB, free: 20.38 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/1.261, allocations: 5.703 kB / 1.144 GB, free: 20.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/1.262, allocations: 460 kB / 1.145 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 7.634e-06/1.262, allocations: 0 / 1.145 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.002072/1.264, allocations: 0.5612 MB / 1.145 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/1.264, allocations: 431.3 kB / 1.146 GB, free: 18.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/1.265, allocations: 262.2 kB / 1.146 GB, free: 18.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004612/1.265, allocations: 67.16 kB / 1.146 GB, free: 18.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/1.266, allocations: 161.3 kB / 1.146 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/1.266, allocations: 97.06 kB / 1.146 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003477/1.266, allocations: 33.36 kB / 1.146 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000191/1.266, allocations: 348.5 kB / 1.147 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001753/1.268, allocations: 423.1 kB / 1.147 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/1.27, allocations: 0.7034 MB / 1.148 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.272, allocations: 0.8274 MB / 1.148 GB, free: 16.03 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.505e-05/1.272, allocations: 7.953 kB / 1.148 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004765/1.277, allocations: 1.691 MB / 1.15 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003174/1.277, allocations: 479.8 kB / 1.151 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-05/1.277, allocations: 13.94 kB / 1.151 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.937e-05/1.277, allocations: 20.06 kB / 1.151 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/1.277, allocations: 33.36 kB / 1.151 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.003e-05/1.277, allocations: 22.84 kB / 1.151 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/1.281, allocations: 0.5466 MB / 1.151 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004479/1.281, allocations: 96.2 kB / 1.151 GB, free: 13.29 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0007631/1.282, allocations: 218.1 kB / 1.152 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/1.283, allocations: 50.25 kB / 1.152 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/1.283, allocations: 37.53 kB / 1.152 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/1.283, allocations: 9.547 kB / 1.152 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.352e-05/1.283, allocations: 4.875 kB / 1.152 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.283, allocations: 6.578 kB / 1.152 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008006/1.284, allocations: 329.7 kB / 1.152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/1.284, allocations: 0.6094 kB / 1.152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/1.284, allocations: 23.22 kB / 1.152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/1.284, allocations: 8.797 kB / 1.152 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/1.284, allocations: 21.16 kB / 1.152 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-05/1.284, allocations: 4.516 kB / 1.152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/1.284, allocations: 8.547 kB / 1.152 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/1.285, allocations: 0.6749 MB / 1.153 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/1.285, allocations: 113.3 kB / 1.153 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.794e-05/1.285, allocations: 12.45 kB / 1.153 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/1.286, allocations: 14.81 kB / 1.153 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.286, allocations: 60.2 kB / 1.153 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.286, allocations: 34.23 kB / 1.153 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003177/1.286, allocations: 192 kB / 1.153 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.286, allocations: 0 / 1.153 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001466/1.288, allocations: 196.5 kB / 1.153 GB, free: 11.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0003512/1.288, allocations: 144.7 kB / 1.153 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003471/1.292, allocations: 1.751 MB / 1.155 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.292, allocations: 0 / 1.155 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005226/1.292, allocations: 184.2 kB / 1.155 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.293, allocations: 111.3 kB / 1.155 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/1.295, allocations: 0.6738 MB / 1.156 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.295, allocations: 0.7894 MB / 1.157 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002501/1.296, allocations: 46.02 kB / 1.157 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/1.296, allocations: 30.11 kB / 1.157 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of SimCode: time 1.443e-06/1.296, allocations: 0 / 1.157 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of Templates: time 0.03047/1.326, allocations: 10.83 MB / 1.167 GB, free: 14.01 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)