Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.475/1.475, allocations: 251.9 MB / 266.8 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 180 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.854/1.854, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009039/0.0009039, allocations: 82.44 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003317, allocations: 13 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2295, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.3986, allocations: 131.4 MB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.3989, allocations: 71.95 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002124/0.401, allocations: 0.7543 MB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.876e-06/0.4011, allocations: 3.938 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.4011, allocations: 0 / 1.029 GB, free: 11.36 MB / 0.6823 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.0005352/0.4016, allocations: 367.2 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4017, allocations: 12.03 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.4017, allocations: 30.56 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.4018, allocations: 3.906 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.4019, allocations: 171 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-06/0.4019, allocations: 0 / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.4019, allocations: 4.188 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.4021, allocations: 69.59 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.4021, allocations: 4 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4022, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4022, allocations: 3.984 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.4024, allocations: 47.95 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.4028, allocations: 272.8 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.403, allocations: 74.47 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.403, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.4033, allocations: 83.45 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.4033, allocations: 0 / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0004121/0.4037, allocations: 125.5 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4038, allocations: 59.34 kB / 1.031 GB, free: 9.863 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.4038, allocations: 101 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.4039, allocations: 29.7 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.4039, allocations: 84.12 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.4039, allocations: 15.81 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.4039, allocations: 4 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4041, allocations: 318.8 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.4042, allocations: 35.97 kB / 1.031 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.4043, allocations: 31.97 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.4044, allocations: 36.45 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4044, allocations: 0 / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002693/0.4047, allocations: 109.6 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.4047, allocations: 10.19 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.4047, allocations: 0 / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4048, allocations: 4 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.4049, allocations: 19.92 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4049, allocations: 0 / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.405, allocations: 15.98 kB / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.405, allocations: 0 / 1.031 GB, free: 9.035 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 8.353e-05/0.4051, allocations: 131.9 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.4051, allocations: 7.906 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.4051, allocations: 11.89 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4051, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.4052, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.4052, allocations: 0 / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.4053, allocations: 169.5 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4053, allocations: 0 / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.4054, allocations: 11.98 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4054, allocations: 4 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4054, allocations: 4 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4054, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.4054, allocations: 4 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.4057, allocations: 125 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.4057, allocations: 81.02 kB / 1.032 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.4058, allocations: 4 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.4059, allocations: 11.98 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.4059, allocations: 15.97 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4059, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.406, allocations: 87.28 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.406, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001784/0.4062, allocations: 12 kB / 1.032 GB, free: 8.27 MB / 0.6823 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005456/0.4067, allocations: 0.6679 MB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.407, allocations: 75.94 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.407, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.4071, allocations: 35.98 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.4073, allocations: 7.984 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.4077, allocations: 172.2 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4079, allocations: 0.6809 MB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.163e-05/0.408, allocations: 4.25 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.408, allocations: 19.42 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of SimCode: time 2.345e-06/0.408, allocations: 0 / 1.034 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.4186, allocations: 1.444 MB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001695/0.4189, allocations: 203 kB / 1.035 GB, free: 5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.944, allocations: 3.938 kB / 1.035 GB, free: 4.996 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)