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.517/1.517, allocations: 252 MB / 267.6 MB, free: 10.95 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.001094/0.001094, allocations: 170.7 kB / 327.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.5783 GB, free: 20.28 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.001199/0.001199, allocations: 87.53 kB / 0.6829 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003478, allocations: 12.88 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2464, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.002083/0.2485, allocations: 1.796 MB / 0.9026 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2496, allocations: 0.7104 MB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.2498, allocations: 7.938 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.2499, allocations: 27.72 kB / 0.9033 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.25, allocations: 31.73 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.2502, allocations: 67.92 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.2505, allocations: 264.4 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002145/0.2507, allocations: 102.6 kB / 0.9038 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.381e-05/0.2508, allocations: 59.59 kB / 0.9038 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.2509, allocations: 71.5 kB / 0.9039 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.2509, allocations: 12 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.2509, allocations: 4 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.772e-05/0.251, allocations: 27.86 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.251, allocations: 69.52 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.2512, allocations: 307.4 kB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2512, allocations: 0 / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2512, allocations: 0 / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2512, allocations: 4 kB / 0.9043 GB, free: 60.37 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.0007336/0.252, allocations: 0.5299 MB / 0.9048 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.252, allocations: 12.03 kB / 0.9048 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.2521, allocations: 27.66 kB / 0.9048 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.2524, allocations: 294.9 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2525, allocations: 16.44 kB / 0.9051 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.2525, allocations: 16 kB / 0.9052 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/0.2529, allocations: 250.7 kB / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.253, allocations: 0 / 0.9054 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.253, allocations: 8 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.253, allocations: 7.984 kB / 0.9054 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.2534, allocations: 195.8 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.2545, allocations: 1.046 MB / 0.9066 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.255, allocations: 210.7 kB / 0.9068 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2552, allocations: 104.7 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.2552, allocations: 4 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2552, allocations: 34.56 kB / 0.907 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 2.655e-06/0.2553, allocations: 3.984 kB / 0.907 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0005897/0.2558, allocations: 249.4 kB / 0.9072 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.2559, allocations: 77.11 kB / 0.9073 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2561, allocations: 262.6 kB / 0.9075 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2561, allocations: 29.7 kB / 0.9076 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.687e-05/0.2562, allocations: 160 kB / 0.9077 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.2563, allocations: 43.39 kB / 0.9078 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/0.2563, allocations: 7.938 kB / 0.9078 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.2563, allocations: 334.8 kB / 0.9081 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2565, allocations: 75.89 kB / 0.9081 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.2567, allocations: 112.2 kB / 0.9083 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.2569, allocations: 81.12 kB / 0.9083 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2569, allocations: 0 / 0.9083 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004002/0.2573, allocations: 234.7 kB / 0.9086 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.2574, allocations: 102.8 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2574, allocations: 4 kB / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2574, allocations: 0 / 0.9087 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.2575, allocations: 47.91 kB / 0.9087 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2576, allocations: 0 / 0.9087 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.2577, allocations: 35.83 kB / 0.9087 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2577, allocations: 8 kB / 0.9087 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.511e-06/0.2577, allocations: 6.656 kB / 0.9088 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002662/0.258, allocations: 138.5 kB / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.258, allocations: 8.062 kB / 0.9089 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.258, allocations: 7.953 kB / 0.9089 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.2581, allocations: 35.98 kB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-06/0.2582, allocations: 3.938 kB / 0.9089 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.2583, allocations: 27.77 kB / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2583, allocations: 8 kB / 0.909 GB, free: 55.29 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.2584, allocations: 217.1 kB / 0.9092 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.2585, allocations: 23.7 kB / 0.9092 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.2585, allocations: 21.72 kB / 0.9092 GB, free: 55.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.2585, allocations: 7.953 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.2585, allocations: 0 / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2585, allocations: 3.984 kB / 0.9092 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.2588, allocations: 313.3 kB / 0.9095 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2588, allocations: 0 / 0.9095 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.259, allocations: 39.92 kB / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.259, allocations: 0 / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.259, allocations: 0 / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.259, allocations: 3.984 kB / 0.9096 GB, free: 54.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.259, allocations: 7.953 kB / 0.9096 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005838/0.2596, allocations: 371.2 kB / 0.9099 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.2597, allocations: 96.86 kB / 0.91 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.2597, allocations: 8 kB / 0.91 GB, free: 54.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2598, allocations: 19.97 kB / 0.9101 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.2599, allocations: 11.95 kB / 0.9101 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.2599, allocations: 3.984 kB / 0.9101 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001406/0.26, allocations: 190 kB / 0.9103 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.26, allocations: 4.062 kB / 0.9103 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003087/0.2604, allocations: 67.69 kB / 0.9103 GB, free: 53.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 (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.0001067/0.2605, allocations: 103.2 kB / 0.9104 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.261, allocations: 247.7 kB / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.261, allocations: 0 / 0.9107 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.2612, allocations: 80.75 kB / 0.9107 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.2616, allocations: 48.09 kB / 0.9108 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007173/0.2624, allocations: 0.4999 MB / 0.9113 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2626, allocations: 0.7481 MB / 0.912 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.241e-05/0.2627, allocations: 19.44 kB / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2627, allocations: 3.938 kB / 0.912 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.003832/0.2665, allocations: 2.775 MB / 0.9147 GB, free: 49.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)