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 2.939/2.939, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001659/0.001659, allocations: 188.8 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.166/3.166, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.001473/0.001472, allocations: 94.59 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.422e-05/3.432e-05, allocations: 8 kB / 0.8519 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283/1.283, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3248/1.607, allocations: 137.5 MB / 1.099 GB, free: 2.234 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/1.608, allocations: 71.95 kB / 1.099 GB, free: 2.164 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03099/1.639, allocations: 6.134 MB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.314e-06/1.639, allocations: 4 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.639, allocations: 4 kB / 1.105 GB, free: 12.11 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.0009374/1.64, allocations: 0.5491 MB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.884e-05/1.64, allocations: 8.031 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/1.64, allocations: 29.78 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/1.641, allocations: 221.7 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.817e-05/1.641, allocations: 4 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/1.641, allocations: 23.69 kB / 1.106 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002038/1.641, allocations: 47.98 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/1.641, allocations: 109 kB / 1.106 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/1.641, allocations: 3.938 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/1.641, allocations: 0 / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/1.641, allocations: 4 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/1.643, allocations: 0.8372 MB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/1.643, allocations: 117.4 kB / 1.107 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.643, allocations: 43.5 kB / 1.107 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/1.643, allocations: 8 kB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003713/1.644, allocations: 170.5 kB / 1.107 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.565e-06/1.644, allocations: 0 / 1.107 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005978/1.644, allocations: 173.3 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.645, allocations: 136.5 kB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/1.645, allocations: 203.9 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.52e-05/1.645, allocations: 33.7 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/1.645, allocations: 136.4 kB / 1.108 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/1.645, allocations: 23.62 kB / 1.108 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/1.645, allocations: 8 kB / 1.108 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002382/1.646, allocations: 338.8 kB / 1.108 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/1.646, allocations: 124.2 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/1.647, allocations: 208.8 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.648, allocations: 160.4 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.648, allocations: 4 kB / 1.108 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.006622/1.654, allocations: 439.1 kB / 1.109 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002837/1.655, allocations: 142.8 kB / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.655, allocations: 0 / 1.109 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.712e-05/1.655, allocations: 7.938 kB / 1.109 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/1.655, allocations: 12 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/1.655, allocations: 11.89 kB / 1.109 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/1.656, allocations: 147.7 kB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.656, allocations: 31.97 kB / 1.109 GB, free: 7.285 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.0002328/1.657, allocations: 120.9 kB / 1.109 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004641/1.657, allocations: 165.3 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/1.657, allocations: 15.81 kB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/1.657, allocations: 29.5 kB / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.657, allocations: 0 / 1.109 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-05/1.657, allocations: 7.562 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.657, allocations: 0 / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/1.658, allocations: 226.8 kB / 1.11 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.658, allocations: 0 / 1.11 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/1.658, allocations: 11.94 kB / 1.11 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/1.658, allocations: 0 / 1.11 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/1.658, allocations: 11.98 kB / 1.11 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/1.658, allocations: 4 kB / 1.11 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.188e-05/1.658, allocations: 7.953 kB / 1.11 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/1.659, allocations: 242.1 kB / 1.11 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/1.659, allocations: 92.91 kB / 1.11 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/1.659, allocations: 4 kB / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-05/1.659, allocations: 0 / 1.11 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/1.659, allocations: 27.84 kB / 1.11 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/1.659, allocations: 8 kB / 1.11 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002198/1.659, allocations: 156.5 kB / 1.11 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/1.659, allocations: 0 / 1.11 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007049/1.66, allocations: 63.91 kB / 1.11 GB, free: 6.004 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.001782/1.662, allocations: 1.002 MB / 1.111 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001393/1.663, allocations: 0.5052 MB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.663, allocations: 0 / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/1.663, allocations: 55.94 kB / 1.112 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/1.664, allocations: 60.83 kB / 1.112 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/1.666, allocations: 290.9 kB / 1.112 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/1.666, allocations: 0.7321 MB / 1.113 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001117/1.667, allocations: 21.84 kB / 1.113 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.667, allocations: 55.42 kB / 1.113 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of SimCode: time 3.316e-06/1.667, allocations: 4 kB / 1.113 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/1.797, allocations: 5.389 MB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/1.798, allocations: 167.9 kB / 1.118 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/3.521, allocations: 0.5 kB / 1.118 GB, free: 13.69 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)