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.556/2.556, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001359/0.001358, allocations: 186.7 kB / 371 MB, free: 10.88 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.111/2.111, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 80.92 kB / 0.743 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005203/0.0005205, allocations: 11.88 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.229, allocations: 115.3 MB / 0.9785 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002461/0.2315, allocations: 1.654 MB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009875/0.2325, allocations: 408.1 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.2327, allocations: 7.938 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2329, allocations: 19.78 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.233, allocations: 27.78 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2333, allocations: 59.89 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.2336, allocations: 244.5 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002462/0.2338, allocations: 98.95 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.261e-05/0.2339, allocations: 63.59 kB / 0.981 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.234, allocations: 67.58 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.2341, allocations: 4 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.978e-05/0.2341, allocations: 8 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.2342, allocations: 35.78 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.2342, allocations: 61.58 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.2346, allocations: 315.4 kB / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2346, allocations: 0 / 0.9814 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2346, allocations: 3.938 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.2346, allocations: 0 / 0.9814 GB, free: 25.18 MB / 0.6198 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.0009847/0.2356, allocations: 0.5222 MB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.2357, allocations: 20 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.2357, allocations: 50.55 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.991e-05/0.2358, allocations: 27.72 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.2362, allocations: 279.9 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.2363, allocations: 20.44 kB / 0.9823 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.677e-05/0.2363, allocations: 19.94 kB / 0.9823 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.237, allocations: 245.7 kB / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.237, allocations: 0 / 0.9826 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.2371, allocations: 4 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2371, allocations: 8 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.2378, allocations: 197 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.2392, allocations: 0.8561 MB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007603/0.24, allocations: 202.7 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003645/0.2404, allocations: 104.8 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.2404, allocations: 4 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.2405, allocations: 34.55 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.324e-06/0.2405, allocations: 0 / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0009956/0.2415, allocations: 253.5 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.2415, allocations: 81.11 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.2419, allocations: 245 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.2419, allocations: 29.64 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.242, allocations: 160.1 kB / 0.9847 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.2421, allocations: 51.38 kB / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.2421, allocations: 0 / 0.9847 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.2422, allocations: 330.8 kB / 0.985 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002975/0.2425, allocations: 71.95 kB / 0.9851 GB, free: 21.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.2428, allocations: 123.6 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.2431, allocations: 75.97 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2432, allocations: 4.031 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007182/0.2439, allocations: 234.2 kB / 0.9855 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.294e-05/0.244, allocations: 111.6 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.244, allocations: 0 / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.244, allocations: 4 kB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.2443, allocations: 43.97 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.2444, allocations: 0 / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.2446, allocations: 39.81 kB / 0.9857 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.945e-05/0.2446, allocations: 4 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.2447, allocations: 4 kB / 0.9857 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004714/0.2451, allocations: 152.9 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2452, allocations: 3.938 kB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-06/0.2452, allocations: 0 / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.2454, allocations: 36.02 kB / 0.9859 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2454, allocations: 11.89 kB / 0.9859 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.2456, allocations: 23.89 kB / 0.9859 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2456, allocations: 8 kB / 0.986 GB, free: 20.27 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.2458, allocations: 213.1 kB / 0.9862 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.2459, allocations: 15.81 kB / 0.9862 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.246, allocations: 29.7 kB / 0.9862 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.246, allocations: 4 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.246, allocations: 3.953 kB / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.246, allocations: 0 / 0.9862 GB, free: 20 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.2464, allocations: 301.4 kB / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2464, allocations: 0 / 0.9865 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.2467, allocations: 43.91 kB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2467, allocations: 0 / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2467, allocations: 0 / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2467, allocations: 0 / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.2467, allocations: 8 kB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009756/0.2477, allocations: 371.1 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.2478, allocations: 100.8 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.2479, allocations: 0 / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.2481, allocations: 28.05 kB / 0.987 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.2482, allocations: 7.984 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2482, allocations: 4 kB / 0.987 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002208/0.2484, allocations: 184.4 kB / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-07/0.2484, allocations: 0 / 0.9872 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004623/0.2489, allocations: 71.69 kB / 0.9873 GB, free: 18.82 MB / 0.6198 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 (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.001197/0.2501, allocations: 0.9075 MB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009058/0.251, allocations: 242 kB / 0.9884 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.251, allocations: 4.125 kB / 0.9884 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003028/0.2514, allocations: 83.89 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.2519, allocations: 33.89 kB / 0.9885 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.2551, allocations: 1.327 MB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2553, allocations: 0.7404 MB / 0.9905 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001564/0.2555, allocations: 25.53 kB / 0.9906 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.2556, allocations: 63.41 kB / 0.9906 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2556, allocations: 0 / 0.9906 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2793, allocations: 3.976 MB / 0.9945 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.2796, allocations: 209.6 kB / 0.9947 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/2.838, allocations: 2.812 kB / 0.9947 GB, free: 11.27 MB / 0.6198 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)