Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.702/2.702, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.0014/0.0014, allocations: 180.8 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.00148/0.00148, allocations: 94.83 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.214e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8976/0.8976, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/1.144, allocations: 138.7 MB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003781/1.144, allocations: 93.06 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01455/1.159, allocations: 3.592 MB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/1.159, allocations: 0 / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.362e-05/1.159, allocations: 8.5 kB / 1.102 GB, free: 14.18 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.0009373/1.16, allocations: 0.4966 MB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/1.16, allocations: 12.03 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/1.16, allocations: 24.92 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004376/1.16, allocations: 268.6 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.16, allocations: 4 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/1.16, allocations: 12.56 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000394/1.161, allocations: 124.9 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00048/1.161, allocations: 187.6 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.161, allocations: 3.938 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/1.161, allocations: 0 / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/1.161, allocations: 4.938 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/1.163, allocations: 0.766 MB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/1.163, allocations: 162.8 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/1.164, allocations: 64.86 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/1.164, allocations: 4 kB / 1.105 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/1.164, allocations: 103.6 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/1.164, allocations: 0 / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000399/1.164, allocations: 141.3 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/1.164, allocations: 81.11 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/1.165, allocations: 183 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.165, allocations: 25.7 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/1.165, allocations: 160.1 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/1.165, allocations: 43.3 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/1.165, allocations: 4 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.165, allocations: 326.8 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/1.165, allocations: 44 kB / 1.106 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/1.166, allocations: 72.12 kB / 1.106 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/1.166, allocations: 48.83 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.166, allocations: 1.312 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003741/1.166, allocations: 158.4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.863e-05/1.166, allocations: 182.7 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/1.166, allocations: 1.5 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.166, allocations: 4 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/1.167, allocations: 40.02 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.167, allocations: 3.984 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/1.167, allocations: 23.98 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/1.167, allocations: 4 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/1.167, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002645/1.167, allocations: 101.1 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.167, allocations: 4 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/1.167, allocations: 4.031 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/1.167, allocations: 35.91 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/1.167, allocations: 5.641 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/1.168, allocations: 23.83 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/1.168, allocations: 5.25 kB / 1.106 GB, free: 10.05 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 0.0001068/1.168, allocations: 109 kB / 1.106 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003073/1.168, allocations: 138.3 kB / 1.107 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/1.168, allocations: 19.8 kB / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/1.168, allocations: 21.92 kB / 1.107 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.168, allocations: 0 / 1.107 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.168, allocations: 4 kB / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.168, allocations: 0 / 1.107 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000739/1.169, allocations: 480.2 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.169, allocations: 0.6562 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/1.169, allocations: 39.97 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/1.169, allocations: 7.125 kB / 1.107 GB, free: 9.199 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/1.169, allocations: 3.953 kB / 1.107 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.169, allocations: 7.938 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.169, allocations: 0 / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005392/1.17, allocations: 296.2 kB / 1.107 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-05/1.17, allocations: 100.6 kB / 1.107 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/1.17, allocations: 4.062 kB / 1.107 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/1.17, allocations: 23.94 kB / 1.107 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.357e-05/1.171, allocations: 13.81 kB / 1.108 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/1.171, allocations: 0 / 1.108 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001967/1.171, allocations: 156.2 kB / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.171, allocations: 0 / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005335/1.171, allocations: 67.69 kB / 1.108 GB, free: 8.512 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.0008734/1.172, allocations: 0.8364 MB / 1.109 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004589/1.173, allocations: 165.2 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/1.173, allocations: 4 kB / 1.109 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/1.173, allocations: 51.94 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/1.173, allocations: 41.66 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/1.174, allocations: 323.1 kB / 1.109 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/1.175, allocations: 0.7444 MB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002268/1.175, allocations: 29.84 kB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/1.175, allocations: 67.41 kB / 1.11 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.175, allocations: 3.938 kB / 1.11 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04056/1.216, allocations: 3.563 MB / 1.113 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000314/1.216, allocations: 156.1 kB / 1.114 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.734, allocations: 0.625 kB / 1.114 GB, free: 2.512 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)