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.906/1.906, allocations: 249.3 MB / 261.8 MB, free: 6.004 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.001112/0.001112, allocations: 194.6 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.791/1.791, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.001022/0.001022, allocations: 93.44 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.528e-05/4.551e-05, allocations: 3.984 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8029/1.052, allocations: 134.6 MB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.052, allocations: 95.86 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01153/1.064, allocations: 4.661 MB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/1.064, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.813e-05/1.064, allocations: 4 kB / 1.028 GB, free: 12.18 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.0007114/1.065, allocations: 0.4995 MB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.065, allocations: 8.031 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.924e-05/1.065, allocations: 53.55 kB / 1.029 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/1.065, allocations: 27.62 kB / 1.029 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/1.065, allocations: 277.6 kB / 1.029 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/1.065, allocations: 15.62 kB / 1.029 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/1.065, allocations: 23.81 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/1.066, allocations: 222.6 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.066, allocations: 0 / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/1.066, allocations: 10.94 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/1.066, allocations: 4 kB / 1.029 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002538/1.066, allocations: 135.3 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001305/1.067, allocations: 0.9896 MB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/1.068, allocations: 170.3 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/1.068, allocations: 83.92 kB / 1.03 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/1.068, allocations: 7.438 kB / 1.03 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.068, allocations: 42.52 kB / 1.03 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/1.068, allocations: 0 / 1.03 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.000326/1.068, allocations: 146.3 kB / 1.031 GB, free: 9.793 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/1.068, allocations: 85.09 kB / 1.031 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/1.069, allocations: 227.2 kB / 1.031 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/1.069, allocations: 28.95 kB / 1.031 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/1.069, allocations: 160.5 kB / 1.031 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.264e-05/1.069, allocations: 53.56 kB / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/1.069, allocations: 0 / 1.031 GB, free: 9.301 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.069, allocations: 334.4 kB / 1.031 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/1.069, allocations: 43.88 kB / 1.032 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/1.069, allocations: 75.44 kB / 1.032 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/1.069, allocations: 63.47 kB / 1.032 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.069, allocations: 0 / 1.032 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002453/1.07, allocations: 163.9 kB / 1.032 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-05/1.07, allocations: 181.3 kB / 1.032 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/1.07, allocations: 0 / 1.032 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.07, allocations: 8.031 kB / 1.032 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/1.07, allocations: 43.91 kB / 1.032 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.07, allocations: 0 / 1.032 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/1.07, allocations: 30.95 kB / 1.032 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/1.07, allocations: 4 kB / 1.032 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/1.07, allocations: 9.562 kB / 1.032 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001954/1.07, allocations: 120.4 kB / 1.032 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/1.07, allocations: 4 kB / 1.032 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-06/1.07, allocations: 0 / 1.032 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/1.071, allocations: 35.88 kB / 1.032 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/1.071, allocations: 4 kB / 1.032 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/1.071, allocations: 23.83 kB / 1.032 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/1.071, allocations: 8.031 kB / 1.032 GB, free: 8.305 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 9.806e-05/1.071, allocations: 122.3 kB / 1.032 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/1.071, allocations: 19.8 kB / 1.032 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.02e-05/1.071, allocations: 24.78 kB / 1.032 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/1.071, allocations: 0 / 1.032 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/1.071, allocations: 3.953 kB / 1.032 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.071, allocations: 7.922 kB / 1.032 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/1.072, allocations: 0.5429 MB / 1.033 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/1.072, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.072, allocations: 31.98 kB / 1.033 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.072, allocations: 0 / 1.033 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/1.072, allocations: 11.77 kB / 1.033 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.072, allocations: 0 / 1.033 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/1.072, allocations: 3.984 kB / 1.033 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/1.072, allocations: 339.4 kB / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/1.072, allocations: 107.3 kB / 1.033 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/1.072, allocations: 3.375 kB / 1.033 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/1.073, allocations: 31.22 kB / 1.033 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/1.073, allocations: 8.062 kB / 1.033 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.073, allocations: 7.984 kB / 1.033 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001855/1.073, allocations: 183.8 kB / 1.034 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.073, allocations: 0 / 1.034 GB, free: 7.016 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003339/1.073, allocations: 71.03 kB / 1.034 GB, free: 6.953 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.0007494/1.074, allocations: 0.9443 MB / 1.035 GB, free: 6.055 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000323/1.074, allocations: 193.4 kB / 1.035 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.074, allocations: 4 kB / 1.035 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/1.074, allocations: 56.31 kB / 1.035 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/1.075, allocations: 50.14 kB / 1.035 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/1.076, allocations: 356.2 kB / 1.035 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/1.076, allocations: 0.7485 MB / 1.036 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001714/1.076, allocations: 38 kB / 1.036 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/1.077, allocations: 70.78 kB / 1.036 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of SimCode: time 6.21e-07/1.077, allocations: 0 / 1.036 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/1.096, allocations: 4.66 MB / 1.041 GB, free: 180 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/1.096, allocations: 176.3 kB / 1.041 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.004, allocations: 3.938 kB / 1.041 GB, free: 15.95 MB / 0.6667 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)