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.444/1.444, allocations: 249.5 MB / 257 MB, free: 6.969 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.001064/0.001064, allocations: 184.8 kB / 316.3 MB, free: 3.223 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.53/1.53, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0007889/0.0007887, allocations: 89.86 kB / 0.6714 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.97e-05/1.972e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1749, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.611/0.786, allocations: 131.6 MB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001929/0.7862, allocations: 75.62 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002016/0.7883, allocations: 0.7462 MB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7883, allocations: 0 / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7883, allocations: 0 / 1.015 GB, free: 5.027 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.0004425/0.7888, allocations: 346.8 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7888, allocations: 14.77 kB / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.7889, allocations: 0 / 1.015 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.789, allocations: 181.8 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.789, allocations: 0.8438 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.789, allocations: 4.188 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.482e-05/0.7891, allocations: 15.75 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.789e-05/0.7892, allocations: 40.5 kB / 1.015 GB, free: 4.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7892, allocations: 4 kB / 1.015 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7892, allocations: 3.984 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.7892, allocations: 0 / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003727/0.7896, allocations: 236.5 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.557e-05/0.7897, allocations: 29.45 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.7897, allocations: 19.98 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.7898, allocations: 3.984 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000128/0.7899, allocations: 74.59 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.7899, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001461/0.7901, allocations: 49.56 kB / 1.016 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.7901, allocations: 55.41 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.55e-05/0.7902, allocations: 104.3 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.7902, allocations: 25.7 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.7902, allocations: 84.12 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.259e-05/0.7903, allocations: 15.53 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.7903, allocations: 0 / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.7904, allocations: 322.2 kB / 1.016 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.805e-05/0.7904, allocations: 11 kB / 1.016 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.499e-05/0.7905, allocations: 18.69 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.307e-05/0.7905, allocations: 11.23 kB / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7905, allocations: 0 / 1.016 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001346/0.7906, allocations: 72.2 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.7907, allocations: 6.188 kB / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.7907, allocations: 0 / 1.016 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7907, allocations: 4 kB / 1.016 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.7908, allocations: 19.98 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.7908, allocations: 0.7812 kB / 1.016 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.7909, allocations: 11.98 kB / 1.016 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.7909, allocations: 0 / 1.016 GB, free: 3.164 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 7.737e-05/0.791, allocations: 114.4 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.612e-05/0.7911, allocations: 52.19 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.7911, allocations: 7.906 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.7912, allocations: 15.09 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.7912, allocations: 3.984 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7912, allocations: 0 / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7912, allocations: 4 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.192e-05/0.7913, allocations: 141.5 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.7913, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.338e-05/0.7914, allocations: 11.98 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7914, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.7914, allocations: 0 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7914, allocations: 8 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7914, allocations: 0 / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.7915, allocations: 82.52 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.7916, allocations: 92.89 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.7916, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.7917, allocations: 11.98 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.7917, allocations: 15.03 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.7917, allocations: 8 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.7918, allocations: 83.52 kB / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7918, allocations: 0 / 1.017 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001917/0.792, allocations: 8 kB / 1.017 GB, free: 2.457 MB / 0.6355 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.0003825/0.7924, allocations: 0.6258 MB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.7925, allocations: 35 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7925, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.7925, allocations: 19.19 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.7927, allocations: 12.31 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.7931, allocations: 101.2 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.7933, allocations: 0.6807 MB / 1.018 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.7934, allocations: 8.5 kB / 1.018 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.7934, allocations: 11.42 kB / 1.018 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of SimCode: time 3.01e-07/0.7934, allocations: 0 / 1.018 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.8124, allocations: 1.126 MB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001719/0.8127, allocations: 164.9 kB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.376/2.189, allocations: 1.25 kB / 1.02 GB, free: 15.6 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)