Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.587/1.587, allocations: 285.4 MB / 298 MB, free: 5.918 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.0009595/0.0009592, allocations: 180.9 kB / 366.4 MB, free: 2.078 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.857/1.857, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008854/0.0008851, allocations: 97.53 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.295e-05, allocations: 4 kB / 0.8584 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7389, allocations: 115.3 MB / 0.971 GB, free: 77.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.9363, allocations: 138.2 MB / 1.106 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.9366, allocations: 68.61 kB / 1.106 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01841/0.955, allocations: 6.161 MB / 1.112 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.939e-06/0.955, allocations: 4 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.955, allocations: 3.938 kB / 1.112 GB, free: 7.418 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004908/0.9555, allocations: 0.5475 MB / 1.113 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9556, allocations: 16.02 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.9556, allocations: 38.56 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.401e-05/0.9557, allocations: 27.81 kB / 1.113 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.9559, allocations: 217.8 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.9559, allocations: 12 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.956, allocations: 26 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.9562, allocations: 126.6 kB / 1.113 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.9562, allocations: 4 kB / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.9562, allocations: 0 / 1.113 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.9562, allocations: 4 kB / 1.113 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.9563, allocations: 51.94 kB / 1.113 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008684/0.9572, allocations: 0.8718 MB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.9574, allocations: 118.5 kB / 1.114 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/0.9574, allocations: 52 kB / 1.114 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.9575, allocations: 0 / 1.114 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.9577, allocations: 182.5 kB / 1.114 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.9577, allocations: 0 / 1.114 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0004001/0.9581, allocations: 181.4 kB / 1.114 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.9582, allocations: 132.5 kB / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.9584, allocations: 212.8 kB / 1.115 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.089e-05/0.9585, allocations: 37.7 kB / 1.115 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.9586, allocations: 136.4 kB / 1.115 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.9586, allocations: 39.53 kB / 1.115 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.9587, allocations: 12 kB / 1.115 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.9588, allocations: 334.8 kB / 1.115 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.9591, allocations: 140.2 kB / 1.115 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.9594, allocations: 216.9 kB / 1.116 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.9597, allocations: 257.6 kB / 1.116 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.9597, allocations: 0 / 1.116 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00083/0.9606, allocations: 0.534 MB / 1.116 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.9607, allocations: 142.7 kB / 1.117 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.9607, allocations: 7.938 kB / 1.117 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.9607, allocations: 4 kB / 1.117 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.9608, allocations: 14.98 kB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.9608, allocations: 11.94 kB / 1.117 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/0.9615, allocations: 155.7 kB / 1.117 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.9616, allocations: 23.98 kB / 1.117 GB, free: 2.148 MB / 0.7136 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 () * 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.0001167/0.9617, allocations: 132.9 kB / 1.117 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.9617, allocations: 19.72 kB / 1.117 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.25e-05/0.9618, allocations: 25.2 kB / 1.117 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.9618, allocations: 0 / 1.117 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.429e-05/0.9618, allocations: 7.984 kB / 1.117 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.9618, allocations: 0 / 1.117 GB, free: 1.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.9621, allocations: 261.5 kB / 1.117 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9621, allocations: 0 / 1.117 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.9621, allocations: 8 kB / 1.117 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9622, allocations: 0 / 1.117 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.9622, allocations: 7.984 kB / 1.117 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9622, allocations: 7.953 kB / 1.117 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9622, allocations: 0 / 1.117 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.9625, allocations: 253.3 kB / 1.117 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.9625, allocations: 96.83 kB / 1.118 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.9626, allocations: 4 kB / 1.118 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.619e-05/0.9626, allocations: 7.984 kB / 1.118 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.9627, allocations: 19.92 kB / 1.118 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.9627, allocations: 8 kB / 1.118 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001337/0.9628, allocations: 165.4 kB / 1.118 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9628, allocations: 0 / 1.118 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003161/0.9632, allocations: 64 kB / 1.118 GB, free: 0.957 MB / 0.7136 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 () * 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.0006407/0.9638, allocations: 1.018 MB / 1.119 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.9645, allocations: 0.5235 MB / 1.119 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9645, allocations: 4.062 kB / 1.119 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.599e-05/0.9646, allocations: 60.31 kB / 1.119 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.965, allocations: 64.42 kB / 1.119 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.9656, allocations: 304.9 kB / 1.12 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.966, allocations: 0.7414 MB / 1.12 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.314e-05/0.966, allocations: 17.55 kB / 1.12 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.9661, allocations: 59.42 kB / 1.121 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.9662, allocations: 3.938 kB / 1.121 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.9856, allocations: 6.055 MB / 1.126 GB, free: 8.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/0.9858, allocations: 175.9 kB / 1.127 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.73, allocations: 6.344 kB / 1.127 GB, free: 8.02 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)