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.717/1.717, allocations: 289.7 MB / 302.3 MB, free: 2.141 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.001031/0.001031, allocations: 183.3 kB / 371.6 MB, free: 3.363 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.635/1.635, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009628/0.0009633, allocations: 92.72 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.89e-05, allocations: 8 kB / 0.8664 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9136/1.227, allocations: 139.1 MB / 1.116 GB, free: 44.67 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/1.227, allocations: 70.91 kB / 1.116 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/1.243, allocations: 6.17 MB / 1.122 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.12e-07/1.244, allocations: 0 / 1.122 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.151e-05/1.244, allocations: 4 kB / 1.122 GB, free: 41.22 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005403/1.244, allocations: 0.5439 MB / 1.122 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.244, allocations: 8.031 kB / 1.122 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/1.244, allocations: 41.12 kB / 1.122 GB, free: 40.61 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.552e-05/1.244, allocations: 34.69 kB / 1.122 GB, free: 40.58 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/1.245, allocations: 217.3 kB / 1.123 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/1.245, allocations: 18.78 kB / 1.123 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/1.245, allocations: 19.25 kB / 1.123 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/1.245, allocations: 129.3 kB / 1.123 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.245, allocations: 0 / 1.123 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/1.245, allocations: 0 / 1.123 GB, free: 40.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.245, allocations: 4 kB / 1.123 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.916e-05/1.245, allocations: 59.89 kB / 1.123 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009191/1.246, allocations: 0.8719 MB / 1.124 GB, free: 39.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/1.246, allocations: 113 kB / 1.124 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/1.246, allocations: 54.31 kB / 1.124 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/1.246, allocations: 0 / 1.124 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/1.246, allocations: 178.6 kB / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.223e-06/1.246, allocations: 4 kB / 1.124 GB, free: 39.21 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003444/1.247, allocations: 178.8 kB / 1.124 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/1.247, allocations: 136 kB / 1.124 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/1.247, allocations: 211.1 kB / 1.125 GB, free: 38.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/1.247, allocations: 40.3 kB / 1.125 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/1.247, allocations: 126.6 kB / 1.125 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/1.247, allocations: 35.34 kB / 1.125 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/1.247, allocations: 7.062 kB / 1.125 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/1.247, allocations: 343 kB / 1.125 GB, free: 38.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/1.248, allocations: 135.8 kB / 1.125 GB, free: 38.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/1.248, allocations: 218.2 kB / 1.125 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/1.248, allocations: 256.9 kB / 1.126 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.248, allocations: 0 / 1.126 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007648/1.249, allocations: 0.5426 MB / 1.126 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.753e-05/1.249, allocations: 143.9 kB / 1.126 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/1.249, allocations: 4 kB / 1.126 GB, free: 37.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/1.249, allocations: 4 kB / 1.126 GB, free: 37.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/1.249, allocations: 11.94 kB / 1.126 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.249, allocations: 8.156 kB / 1.126 GB, free: 37.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/1.25, allocations: 151.2 kB / 1.127 GB, free: 37.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/1.25, allocations: 30.42 kB / 1.127 GB, free: 37.07 MB / 0.7448 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.0001078/1.25, allocations: 135.6 kB / 1.127 GB, free: 36.94 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/1.25, allocations: 15.81 kB / 1.127 GB, free: 36.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/1.25, allocations: 31.02 kB / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.25, allocations: 0 / 1.127 GB, free: 36.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.25, allocations: 4 kB / 1.127 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.25, allocations: 4.266 kB / 1.127 GB, free: 36.9 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/1.25, allocations: 258 kB / 1.127 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.25, allocations: 0 / 1.127 GB, free: 36.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/1.251, allocations: 15.41 kB / 1.127 GB, free: 36.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.251, allocations: 4 kB / 1.127 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/1.251, allocations: 8.391 kB / 1.127 GB, free: 36.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/1.251, allocations: 4.891 kB / 1.127 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.251, allocations: 7.375 kB / 1.127 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/1.251, allocations: 249.4 kB / 1.127 GB, free: 36.4 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/1.251, allocations: 93.39 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/1.251, allocations: 10.55 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.74e-05/1.251, allocations: 3.938 kB / 1.127 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/1.251, allocations: 17.95 kB / 1.127 GB, free: 36.28 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/1.251, allocations: 11.81 kB / 1.127 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001165/1.251, allocations: 163 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.61e-07/1.251, allocations: 4.656 kB / 1.128 GB, free: 36.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003002/1.251, allocations: 67.75 kB / 1.128 GB, free: 36.08 MB / 0.7448 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.0004935/1.252, allocations: 1.013 MB / 1.129 GB, free: 35.08 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005248/1.253, allocations: 0.5158 MB / 1.129 GB, free: 34.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.253, allocations: 0 / 1.129 GB, free: 34.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.498e-05/1.253, allocations: 70.25 kB / 1.129 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/1.253, allocations: 64.05 kB / 1.129 GB, free: 34.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006095/1.254, allocations: 302.2 kB / 1.13 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/1.254, allocations: 0.7367 MB / 1.13 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.116e-05/1.254, allocations: 20.84 kB / 1.13 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.7e-05/1.254, allocations: 62.61 kB / 1.13 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/1.254, allocations: 0 / 1.13 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/1.274, allocations: 6.056 MB / 1.136 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.274, allocations: 168.5 kB / 1.136 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.878/3.152, allocations: 64 / 1.136 GB, free: 29.91 MB / 0.7448 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)