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.762/1.762, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001021/0.001021, allocations: 190.1 kB / 371.8 MB, free: 10.25 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.627/1.627, allocations: 205.4 MB / 0.6305 GB, free: 9.98 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.0009234/0.0009235, allocations: 91.47 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.0005917, allocations: 12.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.279, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8877/1.167, allocations: 138.2 MB / 1.115 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/1.167, allocations: 74.78 kB / 1.115 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01647/1.184, allocations: 6.184 MB / 1.121 GB, free: 31.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.344e-06/1.184, allocations: 3.938 kB / 1.121 GB, free: 31.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.184, allocations: 3.875 kB / 1.121 GB, free: 31.86 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006317/1.184, allocations: 0.5791 MB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.184, allocations: 15.45 kB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.796e-05/1.184, allocations: 41.28 kB / 1.121 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/1.185, allocations: 35.03 kB / 1.121 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/1.185, allocations: 213.9 kB / 1.121 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/1.185, allocations: 15.47 kB / 1.121 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/1.185, allocations: 25.59 kB / 1.122 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/1.185, allocations: 123.2 kB / 1.122 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.185, allocations: 0 / 1.122 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/1.185, allocations: 3.875 kB / 1.122 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.185, allocations: 4 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/1.185, allocations: 55.8 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/1.186, allocations: 0.8719 MB / 1.123 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/1.186, allocations: 115.7 kB / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/1.186, allocations: 7.844 kB / 1.123 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/1.187, allocations: 178 kB / 1.123 GB, free: 30.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/1.187, allocations: 0 / 1.123 GB, free: 30.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0004044/1.187, allocations: 223 kB / 1.123 GB, free: 30.19 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/1.187, allocations: 142.2 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/1.187, allocations: 216.5 kB / 1.123 GB, free: 29.92 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.855e-05/1.187, allocations: 37.14 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/1.188, allocations: 128.2 kB / 1.124 GB, free: 29.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/1.188, allocations: 40.95 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/1.188, allocations: 3.906 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.188, allocations: 341.2 kB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/1.188, allocations: 140.6 kB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003224/1.188, allocations: 220.3 kB / 1.124 GB, free: 29.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/1.189, allocations: 263.6 kB / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/1.189, allocations: 0 / 1.125 GB, free: 29.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008139/1.19, allocations: 0.5446 MB / 1.125 GB, free: 29.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.81e-05/1.19, allocations: 138.9 kB / 1.125 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.19, allocations: 7.828 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/1.19, allocations: 3.688 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/1.19, allocations: 17.89 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/1.19, allocations: 4.547 kB / 1.125 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/1.191, allocations: 149.2 kB / 1.125 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/1.191, allocations: 26 kB / 1.125 GB, free: 28.9 MB / 0.698 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 () * Number of clocked 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.0001955/1.191, allocations: 148.1 kB / 1.126 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/1.191, allocations: 29.67 kB / 1.126 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/1.191, allocations: 18.16 kB / 1.126 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.191, allocations: 7.922 kB / 1.126 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.191, allocations: 0 / 1.126 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.191, allocations: 3.844 kB / 1.126 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/1.191, allocations: 262.9 kB / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.191, allocations: 0 / 1.126 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.829e-05/1.191, allocations: 14.27 kB / 1.126 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.191, allocations: 0 / 1.126 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/1.191, allocations: 3.875 kB / 1.126 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/1.191, allocations: 7.844 kB / 1.126 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.191, allocations: 7.891 kB / 1.126 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003057/1.192, allocations: 252.7 kB / 1.126 GB, free: 28.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/1.192, allocations: 95.53 kB / 1.126 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/1.192, allocations: 3.312 kB / 1.126 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/1.192, allocations: 10.55 kB / 1.126 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/1.192, allocations: 11.97 kB / 1.126 GB, free: 28.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/1.192, allocations: 11.12 kB / 1.126 GB, free: 28.29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000144/1.192, allocations: 168 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.192, allocations: 0 / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003713/1.192, allocations: 67.44 kB / 1.126 GB, free: 28.21 MB / 0.698 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 () * Number of clocked 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.0008243/1.193, allocations: 1.029 MB / 1.127 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006916/1.194, allocations: 0.5223 MB / 1.128 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.194, allocations: 0 / 1.128 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/1.194, allocations: 71.39 kB / 1.128 GB, free: 27.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/1.194, allocations: 58.11 kB / 1.128 GB, free: 27.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/1.196, allocations: 2.314 MB / 1.13 GB, free: 24.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/1.197, allocations: 0.7401 MB / 1.131 GB, free: 24.13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.908e-05/1.197, allocations: 17.94 kB / 1.131 GB, free: 24.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.926e-05/1.197, allocations: 61.06 kB / 1.131 GB, free: 24.12 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/1.197, allocations: 0 / 1.131 GB, free: 24.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/1.217, allocations: 5.99 MB / 1.137 GB, free: 22.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/1.217, allocations: 212.2 kB / 1.137 GB, free: 21.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/3.025, allocations: 0 / 1.137 GB, free: 21.88 MB / 0.698 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)