Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.439/1.439, allocations: 249.5 MB / 257 MB, free: 6.973 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.001069/0.001069, allocations: 183.8 kB / 316.3 MB, free: 3.246 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.607/1.607, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009301/0.0009302, allocations: 93.91 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.715e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1817, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6949/0.8767, allocations: 134.9 MB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.877, allocations: 89.3 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01043/0.8874, allocations: 4.624 MB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8875, allocations: 0 / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.8875, allocations: 7.938 kB / 1.022 GB, free: 14.91 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0006383/0.8881, allocations: 0.4936 MB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8882, allocations: 13.06 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.8883, allocations: 31.62 kB / 1.022 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.8886, allocations: 276.3 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.8886, allocations: 8 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.8887, allocations: 16 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002337/0.8889, allocations: 126.5 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.8892, allocations: 195.9 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.8892, allocations: 0 / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.8893, allocations: 0 / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.8893, allocations: 8 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.8903, allocations: 0.9301 MB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.8907, allocations: 173.1 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.8908, allocations: 69.73 kB / 1.024 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.8908, allocations: 4 kB / 1.024 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.8909, allocations: 34.5 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.8909, allocations: 0 / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.000287/0.8912, allocations: 153.3 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.8912, allocations: 77.11 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.8914, allocations: 191 kB / 1.024 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.8915, allocations: 29.7 kB / 1.024 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.086e-05/0.8915, allocations: 153 kB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.8916, allocations: 49.95 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.8916, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8917, allocations: 329.7 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.8918, allocations: 49.5 kB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.8919, allocations: 71.81 kB / 1.025 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.892, allocations: 47.36 kB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.892, allocations: 0 / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002202/0.8922, allocations: 155.4 kB / 1.025 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.352e-05/0.8923, allocations: 193.6 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8923, allocations: 0 / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.8924, allocations: 0 / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.8925, allocations: 43.91 kB / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.8926, allocations: 0 / 1.025 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.8927, allocations: 31.89 kB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.8927, allocations: 7.984 kB / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.731e-06/0.8927, allocations: 0 / 1.025 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001547/0.8929, allocations: 101 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-06/0.8929, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.487e-06/0.8929, allocations: 4 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.8931, allocations: 31.92 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-06/0.8931, allocations: 4.031 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.8932, allocations: 23.84 kB / 1.026 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.8932, allocations: 7 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.613e-05/0.8933, allocations: 109 kB / 1.026 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002075/0.8935, allocations: 135.4 kB / 1.026 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.8935, allocations: 19.72 kB / 1.026 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.8936, allocations: 25.64 kB / 1.026 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8936, allocations: 7.953 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8936, allocations: 0 / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8936, allocations: 3.938 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.8941, allocations: 0.498 MB / 1.026 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8942, allocations: 0 / 1.026 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.8943, allocations: 39.91 kB / 1.026 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.8944, allocations: 4.031 kB / 1.026 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.8944, allocations: 7.953 kB / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.8944, allocations: 0 / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8944, allocations: 0 / 1.026 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.8947, allocations: 322.4 kB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.8948, allocations: 100.4 kB / 1.027 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.8948, allocations: 8.016 kB / 1.027 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.895, allocations: 19.98 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.8951, allocations: 7.984 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.8951, allocations: 4 kB / 1.027 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001246/0.8952, allocations: 155.2 kB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8952, allocations: 0 / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003361/0.8955, allocations: 67.69 kB / 1.027 GB, free: 9.875 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.000645/0.8962, allocations: 0.9313 MB / 1.028 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.8965, allocations: 171 kB / 1.028 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8965, allocations: 192 / 1.028 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.346e-05/0.8966, allocations: 66.73 kB / 1.028 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.897, allocations: 45.22 kB / 1.028 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.8977, allocations: 337.6 kB / 1.029 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.8981, allocations: 0.7483 MB / 1.029 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.8982, allocations: 33.78 kB / 1.029 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.8983, allocations: 72.03 kB / 1.029 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.8983, allocations: 3.938 kB / 1.029 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.9208, allocations: 3.914 MB / 1.033 GB, free: 3.762 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.9211, allocations: 159.9 kB / 1.033 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.651, allocations: 0 / 1.033 GB, free: 3.574 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)