Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001354/0.001354, allocations: 168.9 kB / 361.4 MB, free: 6.824 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.868/1.868, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0008596/0.0008595, allocations: 105.6 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.422e-05/1.424e-05, allocations: 4 kB / 0.8518 GB, free: 2.711 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6792, allocations: 115.3 MB / 0.9644 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1945/0.8738, allocations: 137.6 MB / 1.099 GB, free: 2.227 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.8741, allocations: 71.95 kB / 1.099 GB, free: 2.156 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05121/0.9253, allocations: 17.23 MB / 1.116 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9254, allocations: 0 / 1.116 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.9254, allocations: 4 kB / 1.116 GB, free: 1.004 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001143/0.9266, allocations: 0.9553 MB / 1.117 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.9266, allocations: 12.03 kB / 1.117 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.9269, allocations: 68.67 kB / 1.117 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.9271, allocations: 212.1 kB / 1.117 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.9271, allocations: 11.98 kB / 1.117 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.9273, allocations: 63.98 kB / 1.117 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001144/0.9274, allocations: 36 kB / 1.117 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.9277, allocations: 211 kB / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9277, allocations: 0 / 1.117 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.9278, allocations: 7.984 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.9278, allocations: 0 / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009168/0.9287, allocations: 0.8138 MB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.929, allocations: 307.4 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.9292, allocations: 120.8 kB / 1.118 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.9292, allocations: 14.06 kB / 1.118 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005687/0.9298, allocations: 448.9 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.744e-06/0.9298, allocations: 0 / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0008074/0.9306, allocations: 420.8 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/0.9309, allocations: 427.2 kB / 1.12 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.9312, allocations: 245 kB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001543/0.9313, allocations: 53.7 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.9316, allocations: 173.2 kB / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.9317, allocations: 87 kB / 1.12 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.9318, allocations: 28 kB / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.932, allocations: 346.8 kB / 1.121 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000707/0.9327, allocations: 361.3 kB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008865/0.9336, allocations: 0.6381 MB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.9354, allocations: 0.4962 MB / 1.122 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.9354, allocations: 8 kB / 1.122 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003355/0.9388, allocations: 1.282 MB / 1.123 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003749/0.9392, allocations: 478.2 kB / 1.124 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.9392, allocations: 10.5 kB / 1.124 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.9392, allocations: 16 kB / 1.124 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.9393, allocations: 31.86 kB / 1.124 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.508e-05/0.9394, allocations: 23.92 kB / 1.124 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.9418, allocations: 0.5305 MB / 1.124 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001681/0.9419, allocations: 98.08 kB / 1.124 GB, free: 7.145 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 () * 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.0003155/0.9423, allocations: 189.9 kB / 1.125 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.9424, allocations: 47.47 kB / 1.125 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.9425, allocations: 34.45 kB / 1.125 GB, free: 6.871 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.9425, allocations: 8 kB / 1.125 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.9425, allocations: 4 kB / 1.125 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.9425, allocations: 4 kB / 1.125 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.9429, allocations: 290 kB / 1.125 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.9429, allocations: 5.812 kB / 1.125 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.943, allocations: 19.92 kB / 1.125 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.467e-06/0.943, allocations: 8 kB / 1.125 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.943, allocations: 23.92 kB / 1.125 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.943, allocations: 4 kB / 1.125 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.943, allocations: 7.938 kB / 1.125 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007766/0.9438, allocations: 0.6452 MB / 1.126 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.9439, allocations: 109.6 kB / 1.126 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.944, allocations: 15.98 kB / 1.126 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.9441, allocations: 7.984 kB / 1.126 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.9442, allocations: 63.83 kB / 1.126 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.9442, allocations: 27.98 kB / 1.126 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001565/0.9444, allocations: 172.6 kB / 1.126 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9444, allocations: 0 / 1.126 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007019/0.9451, allocations: 192 kB / 1.126 GB, free: 5.078 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 () * 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.0002307/0.9453, allocations: 134 kB / 1.126 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.9472, allocations: 1.653 MB / 1.128 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.9473, allocations: 1.312 kB / 1.128 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/0.9475, allocations: 164.5 kB / 1.128 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006559/0.9482, allocations: 104.2 kB / 1.128 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.949, allocations: 481.1 kB / 1.129 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.9494, allocations: 0.7812 MB / 1.129 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.9495, allocations: 47.27 kB / 1.129 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.9496, allocations: 39.42 kB / 1.13 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.9496, allocations: 0 / 1.13 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of Templates: time 0.0167/0.9663, allocations: 10 MB / 1.139 GB, free: 7.723 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)