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 1.769/1.769, allocations: 285.4 MB / 298 MB, free: 5.949 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.001243/0.001243, allocations: 180.8 kB / 366.4 MB, free: 2.062 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.872/1.872, allocations: 205.1 MB / 0.6248 GB, free: 7.715 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.0009596/0.0009595, allocations: 98 kB / 0.738 GB, free: 40.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.807e-05, allocations: 8 kB / 0.8584 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8173, allocations: 115.3 MB / 0.971 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/1.014, allocations: 138.1 MB / 1.106 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.014, allocations: 71.95 kB / 1.106 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005756/1.02, allocations: 2.009 MB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/1.02, allocations: 0 / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.227e-05/1.02, allocations: 2.438 kB / 1.108 GB, free: 11.6 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003882/1.02, allocations: 372.1 kB / 1.108 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.02, allocations: 9.812 kB / 1.108 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/1.021, allocations: 38.55 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/1.021, allocations: 8 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/1.021, allocations: 175.9 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/1.021, allocations: 6.312 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/1.021, allocations: 8 kB / 1.109 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/1.021, allocations: 45.62 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.021, allocations: 3.984 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/1.021, allocations: 0 / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.021, allocations: 1.5 kB / 1.109 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/1.021, allocations: 12 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/1.022, allocations: 336.6 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/1.022, allocations: 38.44 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.702e-05/1.022, allocations: 12.92 kB / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/1.022, allocations: 0 / 1.109 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/1.022, allocations: 62.42 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.022, allocations: 2.531 kB / 1.109 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001897/1.022, allocations: 65.59 kB / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/1.022, allocations: 55.34 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/1.022, allocations: 120.8 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.022, allocations: 29.69 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/1.022, allocations: 88.14 kB / 1.109 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/1.022, allocations: 6.344 kB / 1.109 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/1.022, allocations: 4 kB / 1.109 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001209/1.022, allocations: 322.8 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.775e-05/1.023, allocations: 36 kB / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.842e-05/1.023, allocations: 55.69 kB / 1.11 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.862e-05/1.023, allocations: 65.19 kB / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.023, allocations: 0 / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002549/1.023, allocations: 159.2 kB / 1.11 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.023, allocations: 37.7 kB / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/1.023, allocations: 0 / 1.11 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/1.023, allocations: 4 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/1.023, allocations: 3.984 kB / 1.11 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.023, allocations: 5.969 kB / 1.11 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/1.023, allocations: 39.97 kB / 1.11 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/1.023, allocations: 4 kB / 1.11 GB, free: 9.184 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 7.736e-05/1.023, allocations: 114.5 kB / 1.11 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/1.023, allocations: 7.906 kB / 1.11 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/1.023, allocations: 12.02 kB / 1.11 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/1.024, allocations: 4 kB / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.024, allocations: 0 / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/1.024, allocations: 0 / 1.11 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/1.024, allocations: 181.4 kB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.024, allocations: 0 / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-05/1.024, allocations: 7.938 kB / 1.11 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.024, allocations: 3.984 kB / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/1.024, allocations: 0 / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.024, allocations: 0 / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.024, allocations: 0 / 1.11 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/1.024, allocations: 96.92 kB / 1.11 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/1.024, allocations: 80.16 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/1.024, allocations: 7.984 kB / 1.111 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/1.024, allocations: 4 kB / 1.111 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/1.024, allocations: 3.984 kB / 1.111 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/1.024, allocations: 4 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.528e-05/1.024, allocations: 95.27 kB / 1.111 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.024, allocations: 4 kB / 1.111 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002046/1.024, allocations: 20 kB / 1.111 GB, free: 8.453 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.0004326/1.025, allocations: 0.642 MB / 1.111 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002059/1.025, allocations: 131.4 kB / 1.111 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.025, allocations: 4.125 kB / 1.111 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.159e-05/1.025, allocations: 19.94 kB / 1.111 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/1.025, allocations: 11.98 kB / 1.111 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/1.026, allocations: 133 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/1.026, allocations: 0.6887 MB / 1.112 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.562e-05/1.026, allocations: 4.188 kB / 1.112 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/1.026, allocations: 23.42 kB / 1.112 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of SimCode: time 4.81e-07/1.026, allocations: 0 / 1.112 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.012/1.038, allocations: 2.134 MB / 1.114 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/1.038, allocations: 172.2 kB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.532, allocations: 4 kB / 1.115 GB, free: 4.559 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)