Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_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.203/2.203, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001285/0.001285, allocations: 168.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.001196/0.001195, allocations: 95.89 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.556e-05, allocations: 7.984 kB / 0.8519 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.008, allocations: 115.3 MB / 0.9645 GB, free: 78.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2573/1.265, allocations: 137.4 MB / 1.099 GB, free: 2.289 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.266, allocations: 72.64 kB / 1.099 GB, free: 2.219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006563/1.272, allocations: 1.987 MB / 1.101 GB, free: 288 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.895e-06/1.272, allocations: 0.7188 kB / 1.101 GB, free: 288 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.308e-05/1.272, allocations: 5.406 kB / 1.101 GB, free: 284 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004857/1.273, allocations: 385 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.273, allocations: 10.41 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/1.273, allocations: 5.031 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/1.273, allocations: 187 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/1.273, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/1.273, allocations: 4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.012e-05/1.273, allocations: 12 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/1.273, allocations: 40.39 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/1.273, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.273, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.273, allocations: 5.188 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/1.274, allocations: 308.5 kB / 1.102 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/1.274, allocations: 34.52 kB / 1.102 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/1.274, allocations: 8.922 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/1.274, allocations: 0.9375 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/1.274, allocations: 65.02 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/1.275, allocations: 0 / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0002205/1.275, allocations: 62.47 kB / 1.102 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/1.275, allocations: 52.28 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/1.275, allocations: 122.6 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/1.275, allocations: 29.7 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/1.275, allocations: 88.14 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/1.275, allocations: 7.891 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.121e-05/1.275, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.275, allocations: 325.8 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.556e-05/1.275, allocations: 35.98 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/1.275, allocations: 50.58 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/1.276, allocations: 42.91 kB / 1.103 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.276, allocations: 0 / 1.103 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003346/1.276, allocations: 133.5 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/1.276, allocations: 35.11 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.276, allocations: 4.062 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/1.276, allocations: 4 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/1.276, allocations: 3.984 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/1.276, allocations: 0 / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/1.276, allocations: 35.97 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/1.276, allocations: 15.94 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001324/1.277, allocations: 108.9 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.749e-05/1.277, allocations: 61.59 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/1.277, allocations: 7.906 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/1.277, allocations: 8.844 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.277, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.277, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.277, allocations: 0 / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/1.277, allocations: 158.1 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/1.277, allocations: 10.23 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.528e-05/1.277, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.277, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/1.277, allocations: 7.984 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/1.277, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.277, allocations: 5.438 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/1.277, allocations: 85.08 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/1.277, allocations: 81.67 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/1.277, allocations: 4 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/1.277, allocations: 7.984 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.945e-05/1.277, allocations: 0 / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/1.277, allocations: 4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.501e-05/1.277, allocations: 91.28 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.277, allocations: 0 / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002236/1.278, allocations: 31.08 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005778/1.278, allocations: 0.6433 MB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002615/1.278, allocations: 123.4 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.278, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.776e-05/1.279, allocations: 19.92 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/1.279, allocations: 17.48 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/1.279, allocations: 128.1 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/1.28, allocations: 0.6885 MB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.899e-05/1.28, allocations: 7.781 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/1.28, allocations: 15.44 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.28, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/1.313, allocations: 1.731 MB / 1.107 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003297/1.313, allocations: 162.5 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/3.493, allocations: 0 / 1.107 GB, free: 9.684 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)