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.357/1.357, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 175.9 kB / 327 MB, free: 2.102 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.672/1.672, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007642/0.0007648, allocations: 90.34 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003542, allocations: 8.938 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2056, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002165/0.2078, allocations: 1.885 MB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.2089, allocations: 0.7295 MB / 0.9035 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.2091, allocations: 7.938 kB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.2093, allocations: 35.72 kB / 0.9035 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.2094, allocations: 31.78 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.2097, allocations: 103.8 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.2099, allocations: 280.4 kB / 0.9039 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002223/0.2101, allocations: 144.2 kB / 0.904 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.365e-05/0.2102, allocations: 67.53 kB / 0.9041 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.2103, allocations: 79.42 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.2103, allocations: 8 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.2103, allocations: 8 kB / 0.9042 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.2104, allocations: 31.8 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.2105, allocations: 117 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.2107, allocations: 366.8 kB / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2107, allocations: 0 / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2107, allocations: 0 / 0.9047 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2107, allocations: 0 / 0.9047 GB, free: 59.48 MB / 0.6042 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.0006878/0.2114, allocations: 0.5224 MB / 0.9052 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2115, allocations: 8.031 kB / 0.9052 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.2115, allocations: 58.72 kB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.2116, allocations: 28.66 kB / 0.9053 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.2119, allocations: 288.1 kB / 0.9056 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2119, allocations: 12.81 kB / 0.9056 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.212, allocations: 20.38 kB / 0.9056 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004004/0.2124, allocations: 262.6 kB / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2124, allocations: 0 / 0.9059 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.2124, allocations: 11.94 kB / 0.9059 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/0.2124, allocations: 8 kB / 0.9059 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004198/0.2129, allocations: 195.8 kB / 0.9061 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009985/0.2139, allocations: 1.046 MB / 0.9071 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.2144, allocations: 206.7 kB / 0.9073 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/0.2146, allocations: 96.81 kB / 0.9074 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.2146, allocations: 8 kB / 0.9074 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.2146, allocations: 46.38 kB / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.2146, allocations: 0 / 0.9074 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0006069/0.2152, allocations: 257.2 kB / 0.9077 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2153, allocations: 81.11 kB / 0.9077 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.2155, allocations: 262.6 kB / 0.908 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.2155, allocations: 25.7 kB / 0.908 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.896e-05/0.2156, allocations: 167.9 kB / 0.9082 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.2157, allocations: 39.45 kB / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-06/0.2157, allocations: 4 kB / 0.9082 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.2158, allocations: 330.8 kB / 0.9085 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.2159, allocations: 71.97 kB / 0.9086 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.2161, allocations: 119.1 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003236/0.2164, allocations: 175.8 kB / 0.9089 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2165, allocations: 0 / 0.9089 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004222/0.2169, allocations: 233.2 kB / 0.9091 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/0.2169, allocations: 112.2 kB / 0.9092 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.217, allocations: 0 / 0.9092 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.217, allocations: 4 kB / 0.9092 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.2172, allocations: 43.94 kB / 0.9093 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2172, allocations: 4 kB / 0.9093 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.2173, allocations: 31.83 kB / 0.9093 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2173, allocations: 4 kB / 0.9093 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-06/0.2173, allocations: 4 kB / 0.9093 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002617/0.2176, allocations: 147.9 kB / 0.9094 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.2176, allocations: 4 kB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.2176, allocations: 0 / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2177, allocations: 35.86 kB / 0.9095 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.2178, allocations: 8.062 kB / 0.9095 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.2179, allocations: 27.83 kB / 0.9095 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.2179, allocations: 4 kB / 0.9095 GB, free: 54.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/0.218, allocations: 221.1 kB / 0.9097 GB, free: 54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.218, allocations: 19.72 kB / 0.9097 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.2181, allocations: 21.66 kB / 0.9098 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2181, allocations: 8 kB / 0.9098 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.2181, allocations: 7.922 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2181, allocations: 3.984 kB / 0.9098 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.2184, allocations: 313.4 kB / 0.9101 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2184, allocations: 0 / 0.9101 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.2185, allocations: 31.98 kB / 0.9101 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2185, allocations: 0 / 0.9101 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2186, allocations: 11.92 kB / 0.9101 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2186, allocations: 0 / 0.9101 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2186, allocations: 4 kB / 0.9101 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.2191, allocations: 378.2 kB / 0.9105 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.2192, allocations: 100.9 kB / 0.9106 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2192, allocations: 15.86 kB / 0.9106 GB, free: 53.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2194, allocations: 24.05 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.2194, allocations: 4 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.2194, allocations: 7.984 kB / 0.9106 GB, free: 52.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001399/0.2196, allocations: 186 kB / 0.9108 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2196, allocations: 0 / 0.9108 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003129/0.2199, allocations: 67.69 kB / 0.9109 GB, free: 52.75 MB / 0.6042 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000711/0.2206, allocations: 0.9075 MB / 0.9118 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.2212, allocations: 246.5 kB / 0.912 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2212, allocations: 4.25 kB / 0.912 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.2214, allocations: 83.83 kB / 0.9121 GB, free: 51.49 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.2218, allocations: 44.53 kB / 0.9121 GB, free: 51.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.2244, allocations: 2.507 MB / 0.9146 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.2245, allocations: 0.7481 MB / 0.9153 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 9.706e-05/0.2246, allocations: 21.94 kB / 0.9153 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2248, allocations: 71.42 kB / 0.9154 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.2248, allocations: 0 / 0.9154 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.238, allocations: 4.187 MB / 0.9195 GB, free: 43.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.2382, allocations: 223.5 kB / 0.9197 GB, free: 43.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.158, allocations: 0 / 0.9197 GB, free: 43.73 MB / 0.6042 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)