Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.824/2.824, allocations: 287.5 MB / 303.2 MB, free: 8.121 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.001304/0.001304, allocations: 178 kB / 371.8 MB, free: 10.75 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.084/2.084, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009007/0.0009005, allocations: 82.38 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004965/0.0004968, allocations: 12.47 kB / 0.8668 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2243, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9388/1.163, allocations: 138.2 MB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.164, allocations: 78.73 kB / 1.114 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08454/1.248, allocations: 17.43 MB / 1.131 GB, free: 29.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/1.248, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.596e-05/1.248, allocations: 3.875 kB / 1.131 GB, free: 29.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001603/1.25, allocations: 0.9902 MB / 1.132 GB, free: 28.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/1.25, allocations: 11.75 kB / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003974/1.25, allocations: 74.7 kB / 1.132 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/1.25, allocations: 219.7 kB / 1.133 GB, free: 28.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/1.251, allocations: 41.77 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/1.251, allocations: 61.47 kB / 1.133 GB, free: 28.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/1.251, allocations: 209.3 kB / 1.133 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.251, allocations: 8 kB / 1.133 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/1.251, allocations: 11.77 kB / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/1.251, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/1.251, allocations: 70.62 kB / 1.133 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.253, allocations: 0.843 MB / 1.134 GB, free: 27.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/1.253, allocations: 326.7 kB / 1.134 GB, free: 27.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/1.253, allocations: 137.8 kB / 1.134 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/1.253, allocations: 11.69 kB / 1.134 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007477/1.254, allocations: 456.1 kB / 1.135 GB, free: 26.61 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 3.076e-06/1.254, allocations: 3.938 kB / 1.135 GB, free: 26.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.00173/1.256, allocations: 0.5628 MB / 1.135 GB, free: 26.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002853/1.256, allocations: 437.7 kB / 1.136 GB, free: 25.94 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/1.257, allocations: 289.5 kB / 1.136 GB, free: 25.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004755/1.257, allocations: 73.97 kB / 1.136 GB, free: 25.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/1.257, allocations: 160.8 kB / 1.136 GB, free: 25.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.257, allocations: 89.16 kB / 1.136 GB, free: 25.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/1.258, allocations: 36.41 kB / 1.136 GB, free: 25.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002181/1.258, allocations: 355 kB / 1.137 GB, free: 25.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/1.259, allocations: 414.8 kB / 1.137 GB, free: 25.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/1.261, allocations: 0.6998 MB / 1.138 GB, free: 24.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002203/1.263, allocations: 1.199 MB / 1.139 GB, free: 23.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/1.264, allocations: 3.906 kB / 1.139 GB, free: 23.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004864/1.268, allocations: 1.705 MB / 1.141 GB, free: 23.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004402/1.269, allocations: 485 kB / 1.141 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.269, allocations: 11.69 kB / 1.141 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.1e-05/1.269, allocations: 11.69 kB / 1.141 GB, free: 22.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.843e-05/1.269, allocations: 34.95 kB / 1.141 GB, free: 22.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/1.269, allocations: 20.33 kB / 1.141 GB, free: 22.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004172/1.273, allocations: 0.5467 MB / 1.142 GB, free: 22.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000443/1.274, allocations: 105.8 kB / 1.142 GB, free: 22.36 MB / 0.698 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.0005444/1.274, allocations: 213.9 kB / 1.142 GB, free: 22.22 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.274, allocations: 42.77 kB / 1.142 GB, free: 22.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/1.275, allocations: 38.92 kB / 1.142 GB, free: 22.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.275, allocations: 11.84 kB / 1.142 GB, free: 22.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.275, allocations: 3.719 kB / 1.142 GB, free: 22.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/1.275, allocations: 3.812 kB / 1.142 GB, free: 22.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/1.275, allocations: 330 kB / 1.142 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.275, allocations: 0 / 1.142 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.064e-05/1.275, allocations: 23.11 kB / 1.142 GB, free: 21.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/1.275, allocations: 11.75 kB / 1.142 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/1.275, allocations: 15.55 kB / 1.142 GB, free: 21.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/1.275, allocations: 15.75 kB / 1.142 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.275, allocations: 3.875 kB / 1.142 GB, free: 21.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/1.276, allocations: 0.5164 MB / 1.143 GB, free: 21.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/1.276, allocations: 115.9 kB / 1.143 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/1.276, allocations: 18.23 kB / 1.143 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/1.277, allocations: 11.16 kB / 1.143 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.277, allocations: 60.56 kB / 1.143 GB, free: 21.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-05/1.277, allocations: 37.44 kB / 1.143 GB, free: 21.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002414/1.277, allocations: 185.6 kB / 1.143 GB, free: 21.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.277, allocations: 0 / 1.143 GB, free: 21.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001629/1.279, allocations: 203.9 kB / 1.144 GB, free: 21.38 MB / 0.698 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.0003288/1.279, allocations: 149.6 kB / 1.144 GB, free: 21.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0036/1.283, allocations: 1.742 MB / 1.145 GB, free: 20.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/1.283, allocations: 4.062 kB / 1.145 GB, free: 20.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005185/1.283, allocations: 174.8 kB / 1.146 GB, free: 20.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.285, allocations: 118.4 kB / 1.146 GB, free: 20.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/1.286, allocations: 0.6859 MB / 1.146 GB, free: 19.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/1.287, allocations: 0.7754 MB / 1.147 GB, free: 18.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002529/1.287, allocations: 45.34 kB / 1.147 GB, free: 18.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/1.287, allocations: 37.94 kB / 1.147 GB, free: 18.87 MB / 0.698 GB Notification: Performance of SimCode: time 1.593e-06/1.287, allocations: 0 / 1.147 GB, free: 18.87 MB / 0.698 GB Notification: Performance of Templates: time 0.02545/1.313, allocations: 10.96 MB / 1.158 GB, free: 13.24 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)