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.727/1.727, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.00149/0.00149, allocations: 185.1 kB / 371.8 MB, free: 10.29 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.774/1.774, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.001008/0.001008, allocations: 89.16 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004662, allocations: 20 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2356, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.001893/0.2375, allocations: 1.658 MB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.2384, allocations: 408.1 kB / 0.9815 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.2386, allocations: 4 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 6.156e-05/0.2387, allocations: 15.8 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.239, allocations: 43.81 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.2392, allocations: 63.94 kB / 0.9816 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.2395, allocations: 160.7 kB / 0.9818 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.2397, allocations: 98.97 kB / 0.9819 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.514e-05/0.2398, allocations: 55.64 kB / 0.9819 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.481e-05/0.2399, allocations: 79.55 kB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.24, allocations: 4 kB / 0.982 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.946e-05/0.24, allocations: 8 kB / 0.982 GB, free: 25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.24, allocations: 27.84 kB / 0.982 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.2401, allocations: 65.58 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.2403, allocations: 315.4 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.2403, allocations: 0 / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2403, allocations: 0 / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.2404, allocations: 0 / 0.9824 GB, free: 24.6 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.0007869/0.2412, allocations: 0.5183 MB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2412, allocations: 16.02 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.488e-05/0.2413, allocations: 54.48 kB / 0.983 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.2413, allocations: 27.72 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.2417, allocations: 283.9 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2417, allocations: 16.44 kB / 0.9833 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.2418, allocations: 23.94 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.2422, allocations: 237.7 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2422, allocations: 0 / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2422, allocations: 12 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-06/0.2423, allocations: 8 kB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.2427, allocations: 196.7 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2438, allocations: 0.8561 MB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.2443, allocations: 198.7 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.2443, allocations: 4 kB / 0.9848 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.2443, allocations: 38.45 kB / 0.9848 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.2443, allocations: 4 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006243/0.245, allocations: 261.4 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.245, allocations: 77.11 kB / 0.9851 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.2452, allocations: 245 kB / 0.9854 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.2453, allocations: 25.7 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.2453, allocations: 156.1 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.2454, allocations: 51.39 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.2454, allocations: 0 / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.803e-05/0.2455, allocations: 330.8 kB / 0.9859 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.2456, allocations: 71.95 kB / 0.986 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000185/0.2458, allocations: 117.1 kB / 0.9861 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.246, allocations: 80 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.246, allocations: 0 / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004121/0.2464, allocations: 231.7 kB / 0.9864 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.837e-05/0.2465, allocations: 361.3 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2465, allocations: 0 / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2466, allocations: 4 kB / 0.9867 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.2467, allocations: 47.91 kB / 0.9868 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2467, allocations: 4 kB / 0.9868 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2469, allocations: 35.78 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2469, allocations: 4 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.2469, allocations: 4 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002788/0.2472, allocations: 147.9 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.2472, allocations: 0 / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.2472, allocations: 4 kB / 0.987 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.2474, allocations: 35.92 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.2474, allocations: 3.984 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.2475, allocations: 31.98 kB / 0.987 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.2475, allocations: 4 kB / 0.987 GB, free: 19.55 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.0001241/0.2476, allocations: 217.1 kB / 0.9872 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.2477, allocations: 19.77 kB / 0.9873 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.2478, allocations: 29.64 kB / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2478, allocations: 0 / 0.9873 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2478, allocations: 3.938 kB / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.2478, allocations: 0 / 0.9873 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.2481, allocations: 313.4 kB / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2481, allocations: 0 / 0.9876 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.2482, allocations: 35.94 kB / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2482, allocations: 0 / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2483, allocations: 0 / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.2483, allocations: 0 / 0.9876 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2483, allocations: 11.92 kB / 0.9876 GB, free: 18.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.2489, allocations: 375.2 kB / 0.988 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.354e-05/0.2489, allocations: 96.8 kB / 0.9881 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.249, allocations: 7.953 kB / 0.9881 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.2491, allocations: 23.97 kB / 0.9881 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.2492, allocations: 12.06 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2492, allocations: 0 / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001341/0.2493, allocations: 176.5 kB / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2493, allocations: 0 / 0.9883 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003435/0.2497, allocations: 67.69 kB / 0.9884 GB, free: 18.1 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.0007679/0.2504, allocations: 0.9036 MB / 0.9892 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.251, allocations: 248.5 kB / 0.9895 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.251, allocations: 3.938 kB / 0.9895 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.2512, allocations: 80.33 kB / 0.9896 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.2515, allocations: 40.52 kB / 0.9896 GB, free: 16.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.2537, allocations: 1.765 MB / 0.9913 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2539, allocations: 0.7482 MB / 0.9921 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.254, allocations: 25.53 kB / 0.9921 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.2541, allocations: 67.41 kB / 0.9921 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2541, allocations: 3.938 kB / 0.9922 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.2707, allocations: 3.969 MB / 0.996 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.2709, allocations: 203 kB / 0.9962 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/1.894, allocations: 4 kB / 0.9962 GB, free: 10.08 MB / 0.6198 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)