Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001181/0.001181, allocations: 172.8 kB / 366.7 MB, free: 1.684 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.806/1.806, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0009151/0.0009154, allocations: 93.8 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.169e-05/2.17e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8127, allocations: 116.3 MB / 0.9734 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/1.026, allocations: 138.5 MB / 1.109 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/1.026, allocations: 76.55 kB / 1.109 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01739/1.044, allocations: 6.147 MB / 1.115 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.72e-07/1.044, allocations: 0 / 1.115 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.847e-06/1.044, allocations: 0 / 1.115 GB, free: 5.441 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.0005878/1.044, allocations: 0.5449 MB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.044, allocations: 12.03 kB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.638e-05/1.045, allocations: 23.81 kB / 1.115 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/1.045, allocations: 221.7 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/1.045, allocations: 4 kB / 1.115 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.279e-05/1.045, allocations: 23.98 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/1.045, allocations: 40 kB / 1.116 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/1.045, allocations: 111 kB / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/1.045, allocations: 0 / 1.116 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.045, allocations: 4 kB / 1.116 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.045, allocations: 7.938 kB / 1.116 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/1.046, allocations: 0.848 MB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/1.046, allocations: 106.4 kB / 1.117 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.15e-05/1.047, allocations: 51.5 kB / 1.117 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/1.047, allocations: 3.984 kB / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/1.047, allocations: 166.5 kB / 1.117 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/1.047, allocations: 4 kB / 1.117 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003657/1.047, allocations: 169.3 kB / 1.117 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.728e-05/1.047, allocations: 136.5 kB / 1.117 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/1.048, allocations: 203.9 kB / 1.117 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/1.048, allocations: 33.7 kB / 1.117 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/1.048, allocations: 132.4 kB / 1.117 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/1.048, allocations: 31.61 kB / 1.117 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/1.048, allocations: 8 kB / 1.117 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001952/1.048, allocations: 334.8 kB / 1.118 GB, free: 1.949 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/1.048, allocations: 128.2 kB / 1.118 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/1.049, allocations: 204.8 kB / 1.118 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005903/1.049, allocations: 160.5 kB / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/1.049, allocations: 0 / 1.118 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001093/1.05, allocations: 442.6 kB / 1.119 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/1.051, allocations: 138.8 kB / 1.119 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/1.051, allocations: 4 kB / 1.119 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.051, allocations: 7.938 kB / 1.119 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.173e-05/1.051, allocations: 15.98 kB / 1.119 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.051, allocations: 12.14 kB / 1.119 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006877/1.051, allocations: 147.7 kB / 1.119 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.859e-05/1.052, allocations: 27.98 kB / 1.119 GB, free: 0.625 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.0001695/1.052, allocations: 121 kB / 1.119 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002748/1.052, allocations: 165.2 kB / 1.119 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/1.052, allocations: 23.81 kB / 1.119 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/1.052, allocations: 17.52 kB / 1.119 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.052, allocations: 4 kB / 1.119 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.052, allocations: 3.984 kB / 1.119 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/1.052, allocations: 4 kB / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/1.052, allocations: 228.5 kB / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.052, allocations: 0 / 1.12 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-05/1.053, allocations: 11.98 kB / 1.12 GB, free: 4 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/1.053, allocations: 4 kB / 1.12 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/1.053, allocations: 0 / 1.12 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.87e-05/1.053, allocations: 8.047 kB / 1.12 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.053, allocations: 3.953 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/1.053, allocations: 242.5 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/1.053, allocations: 96.92 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/1.053, allocations: 3.984 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/1.053, allocations: 4 kB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/1.053, allocations: 19.81 kB / 1.12 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/1.053, allocations: 11.98 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001549/1.053, allocations: 160.4 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.053, allocations: 0 / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003778/1.054, allocations: 71.89 kB / 1.12 GB, free: 15.33 MB / 0.7292 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.0008123/1.055, allocations: 0.9903 MB / 1.121 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006578/1.055, allocations: 0.4978 MB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.055, allocations: 4.125 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.064e-05/1.055, allocations: 63.92 kB / 1.122 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/1.056, allocations: 58.83 kB / 1.122 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006861/1.056, allocations: 287.3 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/1.057, allocations: 0.736 MB / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.463e-05/1.057, allocations: 17.86 kB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.631e-05/1.057, allocations: 59.41 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of SimCode: time 2.354e-06/1.057, allocations: 0 / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/1.083, allocations: 5.401 MB / 1.128 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/1.083, allocations: 156.7 kB / 1.128 GB, free: 7.02 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.909, allocations: 0 / 1.128 GB, free: 7.02 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)