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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.607/1.607, allocations: 252 MB / 268 MB, free: 10.88 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.001075/0.001075, allocations: 187.9 kB / 327.6 MB, free: 2.09 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.982/1.982, allocations: 205.4 MB / 0.5786 GB, free: 20.13 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.0008127/0.0008126, allocations: 95.23 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003358/0.000336, allocations: 8.562 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 106.3 MB / 0.9015 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002276/0.2351, allocations: 1.869 MB / 0.9033 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2362, allocations: 0.7334 MB / 0.904 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.2364, allocations: 11.94 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.2366, allocations: 31.72 kB / 0.9041 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.2367, allocations: 27.81 kB / 0.9041 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.2369, allocations: 107.9 kB / 0.9042 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002325/0.2372, allocations: 284.3 kB / 0.9045 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.2374, allocations: 148.2 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.376e-05/0.2375, allocations: 63.53 kB / 0.9047 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.2376, allocations: 75.44 kB / 0.9047 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.2376, allocations: 12 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.908e-05/0.2377, allocations: 4 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.2377, allocations: 35.78 kB / 0.9048 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.534e-05/0.2378, allocations: 113.1 kB / 0.9049 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.238, allocations: 319.4 kB / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.238, allocations: 0 / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.012e-06/0.238, allocations: 0 / 0.9052 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.238, allocations: 0 / 0.9052 GB, free: 59.5 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.0006796/0.2387, allocations: 0.5262 MB / 0.9057 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2388, allocations: 8.031 kB / 0.9057 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.266e-05/0.2388, allocations: 32.66 kB / 0.9057 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.2391, allocations: 288.1 kB / 0.906 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.2392, allocations: 12.81 kB / 0.906 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.2392, allocations: 24.38 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.2396, allocations: 254.8 kB / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2396, allocations: 0 / 0.9063 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.2397, allocations: 12 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2397, allocations: 4 kB / 0.9063 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.2401, allocations: 195.8 kB / 0.9065 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.2411, allocations: 1.05 MB / 0.9075 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/0.2416, allocations: 202.7 kB / 0.9077 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.2418, allocations: 104.8 kB / 0.9078 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.2419, allocations: 0 / 0.9078 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.2419, allocations: 42.56 kB / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/0.2419, allocations: 0 / 0.9079 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005957/0.2425, allocations: 265.1 kB / 0.9081 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2426, allocations: 77.11 kB / 0.9082 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.2428, allocations: 258.6 kB / 0.9084 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.2428, allocations: 37.62 kB / 0.9085 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.209e-05/0.2429, allocations: 164 kB / 0.9086 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.2429, allocations: 43.38 kB / 0.9087 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.243, allocations: 4 kB / 0.9087 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.243, allocations: 330.8 kB / 0.909 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.2432, allocations: 79.95 kB / 0.9091 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2434, allocations: 108.2 kB / 0.9092 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.2437, allocations: 175.8 kB / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2437, allocations: 0 / 0.9093 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003986/0.2442, allocations: 235.8 kB / 0.9096 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.2442, allocations: 106.7 kB / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2442, allocations: 4 kB / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.2442, allocations: 0 / 0.9097 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.2444, allocations: 47.94 kB / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2444, allocations: 0 / 0.9097 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2446, allocations: 31.83 kB / 0.9097 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2446, allocations: 8 kB / 0.9097 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.592e-06/0.2446, allocations: 6.5 kB / 0.9097 GB, free: 54.53 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000275/0.2449, allocations: 147.9 kB / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-06/0.2449, allocations: 0 / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-06/0.2449, allocations: 0 / 0.9099 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.245, allocations: 39.91 kB / 0.9099 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.245, allocations: 3.938 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.816e-05/0.2451, allocations: 31.89 kB / 0.91 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2451, allocations: 8 kB / 0.91 GB, free: 54.3 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.0001132/0.2453, allocations: 213.1 kB / 0.9102 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.65e-05/0.2453, allocations: 19.72 kB / 0.9102 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.2454, allocations: 29.64 kB / 0.9102 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2454, allocations: 7.922 kB / 0.9102 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2454, allocations: 0 / 0.9102 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2454, allocations: 4 kB / 0.9102 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2456, allocations: 313.4 kB / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2456, allocations: 0 / 0.9105 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.2458, allocations: 35.91 kB / 0.9106 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2458, allocations: 0 / 0.9106 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2458, allocations: 4 kB / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.2458, allocations: 3.938 kB / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2458, allocations: 0 / 0.9106 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.2464, allocations: 375.2 kB / 0.9109 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.2465, allocations: 108.8 kB / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.2465, allocations: 0 / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.2466, allocations: 23.98 kB / 0.9111 GB, free: 53.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.2467, allocations: 19.86 kB / 0.9111 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.2467, allocations: 4 kB / 0.9111 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001412/0.2468, allocations: 190 kB / 0.9113 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2469, allocations: 0 / 0.9113 GB, free: 52.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003151/0.2472, allocations: 67.69 kB / 0.9113 GB, free: 52.82 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 9.737e-05/0.2473, allocations: 99.25 kB / 0.9114 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.2478, allocations: 247.9 kB / 0.9117 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2478, allocations: 4 kB / 0.9117 GB, free: 52.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.248, allocations: 75.95 kB / 0.9117 GB, free: 52.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.2484, allocations: 49.86 kB / 0.9118 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.2492, allocations: 0.5309 MB / 0.9123 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2493, allocations: 0.7404 MB / 0.913 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.2494, allocations: 23.44 kB / 0.913 GB, free: 51 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.2494, allocations: 0 / 0.913 GB, free: 51 MB / 0.6042 GB Notification: Performance of Templates: time 0.003735/0.2531, allocations: 2.77 MB / 0.9157 GB, free: 48.25 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)