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.632/1.632, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.00115/0.00115, allocations: 184 kB / 371.6 MB, free: 3.434 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.613/1.613, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009166/0.0009169, allocations: 86.58 kB / 0.745 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.264e-05/4.266e-05, allocations: 4 kB / 0.8663 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9754/1.303, allocations: 139.2 MB / 1.116 GB, free: 44.42 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/1.303, allocations: 70.11 kB / 1.116 GB, free: 44.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04623/1.349, allocations: 17.29 MB / 1.133 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.114e-06/1.349, allocations: 0 / 1.133 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.758e-05/1.349, allocations: 8.844 kB / 1.133 GB, free: 34.69 MB / 0.7448 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.00168/1.351, allocations: 0.9656 MB / 1.134 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.351, allocations: 8.031 kB / 1.134 GB, free: 33.68 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005482/1.352, allocations: 63.59 kB / 1.134 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/1.352, allocations: 208.8 kB / 1.134 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.352, allocations: 39.08 kB / 1.134 GB, free: 33.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004202/1.352, allocations: 66.86 kB / 1.134 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/1.353, allocations: 210.2 kB / 1.134 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/1.353, allocations: 7.938 kB / 1.134 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/1.353, allocations: 12.27 kB / 1.134 GB, free: 33.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/1.353, allocations: 0 / 1.134 GB, free: 33.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/1.353, allocations: 70.59 kB / 1.134 GB, free: 33.03 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/1.354, allocations: 0.8472 MB / 1.135 GB, free: 32.56 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/1.355, allocations: 319.5 kB / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/1.355, allocations: 140.5 kB / 1.136 GB, free: 31.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/1.355, allocations: 7.609 kB / 1.136 GB, free: 31.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006621/1.356, allocations: 456 kB / 1.136 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 3.297e-06/1.356, allocations: 0.6562 kB / 1.136 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.001084/1.357, allocations: 453.3 kB / 1.137 GB, free: 31.26 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/1.357, allocations: 435.3 kB / 1.137 GB, free: 30.74 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/1.357, allocations: 264.1 kB / 1.137 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/1.357, allocations: 65.62 kB / 1.137 GB, free: 30.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/1.358, allocations: 165.5 kB / 1.137 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/1.358, allocations: 89.89 kB / 1.137 GB, free: 30.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/1.358, allocations: 40.36 kB / 1.138 GB, free: 30.26 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.358, allocations: 348.6 kB / 1.138 GB, free: 29.94 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008872/1.359, allocations: 405.8 kB / 1.138 GB, free: 29.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009538/1.36, allocations: 0.68 MB / 1.139 GB, free: 29.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/1.361, allocations: 0.8146 MB / 1.14 GB, free: 28.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/1.361, allocations: 4 kB / 1.14 GB, free: 28.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00279/1.364, allocations: 1.676 MB / 1.141 GB, free: 27.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002672/1.364, allocations: 481.5 kB / 1.142 GB, free: 26.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.364, allocations: 16.78 kB / 1.142 GB, free: 26.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.305e-05/1.364, allocations: 12 kB / 1.142 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/1.364, allocations: 31.08 kB / 1.142 GB, free: 26.45 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/1.364, allocations: 26.69 kB / 1.142 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.367, allocations: 0.5379 MB / 1.142 GB, free: 26.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002556/1.367, allocations: 96.39 kB / 1.142 GB, free: 25.95 MB / 0.7448 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.000441/1.368, allocations: 203.1 kB / 1.143 GB, free: 25.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.368, allocations: 43.19 kB / 1.143 GB, free: 25.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/1.368, allocations: 38.22 kB / 1.143 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.368, allocations: 8.562 kB / 1.143 GB, free: 25.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.368, allocations: 4 kB / 1.143 GB, free: 25.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.368, allocations: 14.19 kB / 1.143 GB, free: 25.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005813/1.369, allocations: 328.2 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/1.369, allocations: 7.953 kB / 1.143 GB, free: 25.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-05/1.369, allocations: 23 kB / 1.143 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.369, allocations: 5.172 kB / 1.143 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/1.369, allocations: 19.42 kB / 1.143 GB, free: 25.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/1.369, allocations: 5.484 kB / 1.143 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.369, allocations: 4.938 kB / 1.143 GB, free: 25.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/1.37, allocations: 0.6696 MB / 1.144 GB, free: 24.69 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/1.37, allocations: 109 kB / 1.144 GB, free: 24.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/1.37, allocations: 15.8 kB / 1.144 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/1.37, allocations: 12.52 kB / 1.144 GB, free: 24.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.37, allocations: 64.17 kB / 1.144 GB, free: 24.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/1.37, allocations: 24.27 kB / 1.144 GB, free: 24.51 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000174/1.37, allocations: 191.3 kB / 1.144 GB, free: 24.37 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/1.37, allocations: 0 / 1.144 GB, free: 24.37 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008811/1.371, allocations: 197.9 kB / 1.144 GB, free: 24.19 MB / 0.7448 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.0002657/1.371, allocations: 152.6 kB / 1.145 GB, free: 24.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001882/1.373, allocations: 1.733 MB / 1.146 GB, free: 22.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.373, allocations: 0 / 1.146 GB, free: 22.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/1.374, allocations: 175.1 kB / 1.146 GB, free: 22.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/1.374, allocations: 111.6 kB / 1.147 GB, free: 22.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/1.375, allocations: 499.3 kB / 1.147 GB, free: 21.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/1.375, allocations: 0.7853 MB / 1.148 GB, free: 21.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001681/1.376, allocations: 50.16 kB / 1.148 GB, free: 21.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/1.376, allocations: 37.84 kB / 1.148 GB, free: 21.05 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.376, allocations: 0 / 1.148 GB, free: 21.05 MB / 0.7448 GB Notification: Performance of Templates: time 0.02429/1.4, allocations: 10.85 MB / 1.158 GB, free: 15.04 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)