Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.724/1.724, allocations: 285.6 MB / 293.1 MB, free: 10.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 172.9 kB / 361.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009019/0.0009021, allocations: 94.5 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.929e-05/1.931e-05, allocations: 0 / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8038, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/1.014, allocations: 138.9 MB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.014, allocations: 89.39 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008723/1.023, allocations: 3.593 MB / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.302e-06/1.023, allocations: 0 / 1.104 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.797e-05/1.023, allocations: 12.81 kB / 1.104 GB, free: 13.22 MB / 0.7136 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.0006678/1.024, allocations: 489.1 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.024, allocations: 14.84 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/1.024, allocations: 27.95 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/1.024, allocations: 279.4 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/1.024, allocations: 4 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/1.024, allocations: 12 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002525/1.025, allocations: 124.9 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/1.025, allocations: 184.8 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.025, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/1.025, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/1.025, allocations: 8 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/1.026, allocations: 0.7634 MB / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/1.027, allocations: 150.8 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/1.027, allocations: 76.88 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/1.027, allocations: 3.984 kB / 1.106 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/1.027, allocations: 101.3 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/1.027, allocations: 1.781 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002883/1.027, allocations: 141.3 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/1.027, allocations: 81.11 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/1.027, allocations: 185.8 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/1.028, allocations: 25.7 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/1.028, allocations: 156 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/1.028, allocations: 47.3 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-06/1.028, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.028, allocations: 330.8 kB / 1.107 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/1.028, allocations: 47.94 kB / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.475e-05/1.028, allocations: 72.41 kB / 1.107 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/1.028, allocations: 50.11 kB / 1.107 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.028, allocations: 0 / 1.107 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002287/1.028, allocations: 150.8 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.367e-05/1.028, allocations: 190 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.028, allocations: 4 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.028, allocations: 0 / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/1.029, allocations: 35.97 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.029, allocations: 4 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/1.029, allocations: 29.38 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/1.029, allocations: 8 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/1.029, allocations: 4.625 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001658/1.029, allocations: 95.86 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/1.029, allocations: 2.156 kB / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/1.029, allocations: 0 / 1.107 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/1.029, allocations: 32.02 kB / 1.107 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/1.029, allocations: 4 kB / 1.107 GB, free: 9.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/1.029, allocations: 35.34 kB / 1.108 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/1.029, allocations: 0 / 1.108 GB, free: 9.102 MB / 0.7136 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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.039e-05/1.029, allocations: 112.9 kB / 1.108 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001942/1.03, allocations: 131.1 kB / 1.108 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/1.03, allocations: 15.81 kB / 1.108 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/1.03, allocations: 25.95 kB / 1.108 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/1.03, allocations: 7.953 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.03, allocations: 1.594 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.03, allocations: 0 / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/1.03, allocations: 482.8 kB / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/1.03, allocations: 0 / 1.108 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/1.03, allocations: 39.97 kB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/1.03, allocations: 0 / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/1.03, allocations: 11.94 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/1.031, allocations: 3.953 kB / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.031, allocations: 0 / 1.108 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/1.031, allocations: 298 kB / 1.109 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.103e-05/1.031, allocations: 96.89 kB / 1.109 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/1.031, allocations: 3.984 kB / 1.109 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.031, allocations: 24.05 kB / 1.109 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/1.031, allocations: 11.94 kB / 1.109 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.031, allocations: 8 kB / 1.109 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001276/1.031, allocations: 144.4 kB / 1.109 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.031, allocations: 0 / 1.109 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003383/1.032, allocations: 66.69 kB / 1.109 GB, free: 7.566 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * 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.0006885/1.032, allocations: 0.8445 MB / 1.11 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002964/1.033, allocations: 169.2 kB / 1.11 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.033, allocations: 0 / 1.11 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.545e-05/1.033, allocations: 55.94 kB / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/1.033, allocations: 37.91 kB / 1.11 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/1.034, allocations: 319.9 kB / 1.11 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/1.034, allocations: 0.7522 MB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001335/1.034, allocations: 25.84 kB / 1.111 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/1.035, allocations: 67.41 kB / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/1.035, allocations: 0 / 1.111 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/1.057, allocations: 3.579 MB / 1.115 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.057, allocations: 165.5 kB / 1.115 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.999/3.056, allocations: 0 / 1.115 GB, free: 1.555 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)