Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 186.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001617, allocations: 70.66 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2089, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003501/0.2125, allocations: 2.043 MB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2136, allocations: 443.9 kB / 0.7861 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.2139, allocations: 4 kB / 0.7861 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001976/0.2141, allocations: 35.59 kB / 0.7861 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000157/0.2143, allocations: 39.66 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.2146, allocations: 103.8 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.215, allocations: 292.4 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.2153, allocations: 148.5 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.2154, allocations: 107.5 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2156, allocations: 103.5 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.885e-05/0.2156, allocations: 36 kB / 0.7869 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.793e-05/0.2157, allocations: 36 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.601e-05/0.2157, allocations: 67.75 kB / 0.787 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.2158, allocations: 127.3 kB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.2162, allocations: 410.9 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2163, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2163, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.2163, allocations: 0 / 0.7875 GB, free: 9.277 MB / 0.6075 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.0009728/0.2173, allocations: 0.5496 MB / 0.788 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2173, allocations: 12.03 kB / 0.788 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.2174, allocations: 54.73 kB / 0.7881 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.067e-05/0.2175, allocations: 32.55 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004168/0.2179, allocations: 289.1 kB / 0.7884 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2179, allocations: 16.81 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.218, allocations: 20.38 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.2184, allocations: 238 kB / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2184, allocations: 0 / 0.7887 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.2185, allocations: 8 kB / 0.7887 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2185, allocations: 7.984 kB / 0.7887 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.2189, allocations: 169 kB / 0.7888 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.22, allocations: 0.8444 MB / 0.7897 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.2206, allocations: 182.7 kB / 0.7898 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002034/0.2208, allocations: 96.8 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.2208, allocations: 4 kB / 0.7899 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.2208, allocations: 30.56 kB / 0.79 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.893e-06/0.2208, allocations: 0 / 0.79 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006262/0.2215, allocations: 233.2 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2215, allocations: 77.33 kB / 0.7903 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.2218, allocations: 252.9 kB / 0.7905 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.2218, allocations: 25.7 kB / 0.7905 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2219, allocations: 164.1 kB / 0.7907 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.2219, allocations: 39.39 kB / 0.7907 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.222, allocations: 37.7 kB / 0.7908 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.2221, allocations: 330.8 kB / 0.7911 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.2223, allocations: 72.72 kB / 0.7911 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.2225, allocations: 107.8 kB / 0.7912 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.2229, allocations: 159.3 kB / 0.7914 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2229, allocations: 4 kB / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004372/0.2233, allocations: 213.4 kB / 0.7916 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.2234, allocations: 4 kB / 0.7916 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2234, allocations: 7.938 kB / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2234, allocations: 0 / 0.7916 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2236, allocations: 35.92 kB / 0.7916 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.2236, allocations: 7.922 kB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.2237, allocations: 31.92 kB / 0.7917 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2238, allocations: 8 kB / 0.7917 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001933/0.224, allocations: 152.1 kB / 0.7918 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001493/0.2241, allocations: 97.02 kB / 0.7919 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002479/0.2244, allocations: 134.4 kB / 0.7921 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.2244, allocations: 4 kB / 0.7921 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003227/0.2247, allocations: 177.3 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.243e-06/0.2247, allocations: 8.094 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.2247, allocations: 4 kB / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.2247, allocations: 3.938 kB / 0.7922 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2249, allocations: 35.97 kB / 0.7923 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.2249, allocations: 0 / 0.7923 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.225, allocations: 27.81 kB / 0.7923 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.225, allocations: 4 kB / 0.7923 GB, free: 4.02 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * 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 9.893e-05/0.2251, allocations: 195 kB / 0.7925 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.2252, allocations: 19.81 kB / 0.7925 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.025e-05/0.2252, allocations: 29.64 kB / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2253, allocations: 0 / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2253, allocations: 0 / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2253, allocations: 0 / 0.7925 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.2256, allocations: 309.3 kB / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2256, allocations: 0 / 0.7928 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.2257, allocations: 35.97 kB / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2258, allocations: 0 / 0.7929 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2258, allocations: 3.938 kB / 0.7929 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2258, allocations: 4 kB / 0.7929 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2258, allocations: 3.984 kB / 0.7929 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.2264, allocations: 343.6 kB / 0.7932 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.2265, allocations: 108.9 kB / 0.7933 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.2265, allocations: 7.938 kB / 0.7933 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.2267, allocations: 11.98 kB / 0.7933 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.2267, allocations: 11.98 kB / 0.7933 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2267, allocations: 8 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001537/0.2269, allocations: 176.5 kB / 0.7935 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2269, allocations: 0 / 0.7935 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003693/0.2273, allocations: 63.69 kB / 0.7936 GB, free: 2.625 MB / 0.6075 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.0008729/0.2282, allocations: 0.8879 MB / 0.7945 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005554/0.2287, allocations: 223.8 kB / 0.7947 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2287, allocations: 0 / 0.7947 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.2289, allocations: 75.83 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.2294, allocations: 43.84 kB / 0.7948 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.2323, allocations: 2.315 MB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.2326, allocations: 0.744 MB / 0.7978 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.2327, allocations: 21.55 kB / 0.7978 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.2329, allocations: 71.34 kB / 0.7979 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.2329, allocations: 4 kB / 0.7979 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05869/0.2916, allocations: 4.173 MB / 0.8019 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/8.722, allocations: 4.062 kB / 0.8019 GB, free: 10.05 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)