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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.45 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.911/1.911, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.000611/0.0006111, allocations: 18.12 kB / 0.6736 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2979, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002481/0.3004, allocations: 1.666 MB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3015, allocations: 408.1 kB / 0.7891 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.3017, allocations: 4 kB / 0.7891 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.839e-05/0.3018, allocations: 19.78 kB / 0.7892 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.3022, allocations: 51.75 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.3024, allocations: 55.94 kB / 0.7893 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.3028, allocations: 156.7 kB / 0.7894 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.303, allocations: 107 kB / 0.7895 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3032, allocations: 59.7 kB / 0.7896 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3033, allocations: 67.52 kB / 0.7896 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.3034, allocations: 8 kB / 0.7896 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.175e-05/0.3034, allocations: 4 kB / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.3034, allocations: 35.83 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.3035, allocations: 61.58 kB / 0.7897 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/0.3038, allocations: 311.4 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3038, allocations: 0 / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3038, allocations: 0 / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.055e-05/0.3039, allocations: 4 kB / 0.79 GB, free: 8.941 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.0009318/0.3048, allocations: 0.5222 MB / 0.7905 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3048, allocations: 8.031 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.3049, allocations: 27.7 kB / 0.7906 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.3054, allocations: 283.9 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3054, allocations: 16.44 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.3055, allocations: 16 kB / 0.7909 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.306, allocations: 253.6 kB / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.306, allocations: 0 / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.306, allocations: 15.94 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.306, allocations: 4 kB / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.3065, allocations: 192.8 kB / 0.7913 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001353/0.3079, allocations: 0.8522 MB / 0.7922 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.3084, allocations: 198.8 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3085, allocations: 7.984 kB / 0.7924 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3085, allocations: 34.5 kB / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.3085, allocations: 0 / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.0006882/0.3092, allocations: 269.3 kB / 0.7926 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.3093, allocations: 77.11 kB / 0.7927 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.3095, allocations: 245 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3096, allocations: 25.7 kB / 0.793 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.3097, allocations: 160.1 kB / 0.7931 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.3097, allocations: 43.39 kB / 0.7932 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.3098, allocations: 7.938 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3099, allocations: 334.8 kB / 0.7935 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3101, allocations: 71.95 kB / 0.7936 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.3103, allocations: 119.9 kB / 0.7937 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.3105, allocations: 80 kB / 0.7938 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3105, allocations: 0 / 0.7938 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004654/0.311, allocations: 229.4 kB / 0.794 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.3112, allocations: 364 kB / 0.7943 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3112, allocations: 0 / 0.7943 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3112, allocations: 4 kB / 0.7943 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.3114, allocations: 39.91 kB / 0.7944 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3114, allocations: 4 kB / 0.7944 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.3115, allocations: 35.78 kB / 0.7944 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3116, allocations: 12 kB / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.3116, allocations: 0 / 0.7944 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000312/0.3119, allocations: 143.8 kB / 0.7946 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3119, allocations: 8.094 kB / 0.7946 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.519e-06/0.3119, allocations: 0 / 0.7946 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3121, allocations: 39.97 kB / 0.7946 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.3121, allocations: 0 / 0.7946 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.3122, allocations: 23.89 kB / 0.7946 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.3122, allocations: 4 kB / 0.7946 GB, free: 3.961 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000184/0.3124, allocations: 225 kB / 0.7948 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.3125, allocations: 19.77 kB / 0.7949 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.3125, allocations: 21.7 kB / 0.7949 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3125, allocations: 4 kB / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.3125, allocations: 0 / 0.7949 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3125, allocations: 3.938 kB / 0.7949 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.3129, allocations: 309.4 kB / 0.7952 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.3129, allocations: 0 / 0.7952 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.313, allocations: 31.98 kB / 0.7952 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3131, allocations: 7.953 kB / 0.7952 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3131, allocations: 4 kB / 0.7952 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3131, allocations: 3.984 kB / 0.7952 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3131, allocations: 7.938 kB / 0.7952 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000655/0.3138, allocations: 367.2 kB / 0.7956 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.3138, allocations: 100.9 kB / 0.7957 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.3139, allocations: 3.953 kB / 0.7957 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.314, allocations: 23.97 kB / 0.7957 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3141, allocations: 7.938 kB / 0.7957 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3141, allocations: 7.984 kB / 0.7957 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001688/0.3143, allocations: 172.5 kB / 0.7959 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3143, allocations: 8 kB / 0.7959 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003654/0.3146, allocations: 71.69 kB / 0.796 GB, free: 2.492 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 (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.000135/0.3148, allocations: 103.2 kB / 0.7961 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.3154, allocations: 247.1 kB / 0.7963 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3154, allocations: 3.938 kB / 0.7963 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.3156, allocations: 76.34 kB / 0.7964 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.316, allocations: 33.06 kB / 0.7964 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007871/0.3168, allocations: 476.6 kB / 0.7969 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3171, allocations: 0.7521 MB / 0.7976 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.836e-05/0.3172, allocations: 13.55 kB / 0.7976 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.315e-05/0.3172, allocations: 23.44 kB / 0.7976 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3173, allocations: 0 / 0.7976 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of Templates: time 0.00522/0.3225, allocations: 1.789 MB / 0.7994 GB, free: 14.95 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) Environment - environmentSimulation: