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.591/1.591, allocations: 249.3 MB / 261.9 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001098, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.000929/0.0009288, allocations: 86.58 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.246e-05, allocations: 4 kB / 0.7881 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2513, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8298/1.081, allocations: 131.4 MB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.081, allocations: 77.08 kB / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002276/1.084, allocations: 0.7448 MB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/1.084, allocations: 4 kB / 1.021 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.084, allocations: 4 kB / 1.021 GB, free: 2.613 MB / 0.6355 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.0004967/1.084, allocations: 342.7 kB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/1.084, allocations: 14.75 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.793e-05/1.084, allocations: 34.12 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/1.084, allocations: 7.938 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/1.085, allocations: 170.9 kB / 1.022 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/1.085, allocations: 8 kB / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/1.085, allocations: 0 / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/1.085, allocations: 46.55 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/1.085, allocations: 0 / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.085, allocations: 4 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/1.085, allocations: 0 / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/1.085, allocations: 14 kB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/1.085, allocations: 265.3 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.485e-05/1.085, allocations: 41.31 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/1.086, allocations: 12.36 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/1.086, allocations: 4 kB / 1.022 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/1.086, allocations: 59.23 kB / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/1.086, allocations: 0 / 1.022 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001816/1.086, allocations: 56.69 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.086, allocations: 63.39 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/1.086, allocations: 111.6 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/1.086, allocations: 25.7 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/1.086, allocations: 91.45 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/1.086, allocations: 7.891 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/1.086, allocations: 3.938 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.086, allocations: 318.7 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/1.086, allocations: 15.19 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/1.086, allocations: 18.03 kB / 1.023 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/1.086, allocations: 15.61 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.086, allocations: 0 / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000125/1.087, allocations: 71.97 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/1.087, allocations: 11.98 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/1.087, allocations: 3.938 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/1.087, allocations: 0 / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/1.087, allocations: 15.98 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.087, allocations: 0 / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/1.087, allocations: 19.92 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/1.087, allocations: 7.953 kB / 1.023 GB, free: 0.6484 MB / 0.6355 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 () * 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 9.442e-05/1.087, allocations: 101 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/1.087, allocations: 4 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.24e-05/1.087, allocations: 7.719 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/1.087, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.087, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/1.087, allocations: 0 / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/1.087, allocations: 180.8 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.087, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/1.087, allocations: 8 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.087, allocations: 0 / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.087, allocations: 7.922 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.087, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.087, allocations: 4 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/1.088, allocations: 83.7 kB / 1.023 GB, free: 204 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/1.088, allocations: 81.05 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/1.088, allocations: 3.75 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/1.088, allocations: 11.98 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/1.088, allocations: 15.97 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/1.088, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.085e-05/1.088, allocations: 86.47 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.088, allocations: 0 / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001794/1.088, allocations: 11.88 kB / 1.023 GB, free: 15.98 MB / 0.6511 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) * 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.0005587/1.089, allocations: 0.6313 MB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001124/1.089, allocations: 34.5 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.089, allocations: 0 / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/1.089, allocations: 19.95 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/1.089, allocations: 23.67 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003557/1.089, allocations: 102.5 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/1.09, allocations: 0.6809 MB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.498e-05/1.09, allocations: 8 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/1.09, allocations: 14.73 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.09, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01217/1.102, allocations: 1.468 MB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/1.102, allocations: 179 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/2.603, allocations: 7.016 kB / 1.026 GB, free: 12.85 MB / 0.6511 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)