Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 308.1 MB, free: 4.254 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.00115/0.00115, allocations: 188.3 kB / 376.9 MB, free: 1.805 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.588/1.588, allocations: 205 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009414/0.0009412, allocations: 95.2 kB / 0.748 GB, free: 61.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 55.92 kB / 0.8703 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2967, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.6176/0.9144, allocations: 57.47 MB / 1.038 GB, free: 71.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0205/0.9349, allocations: 11.83 MB / 1.05 GB, free: 69.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.9384, allocations: 48.75 kB / 1.05 GB, free: 69.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0044/0.9428, allocations: 1.116 MB / 1.051 GB, free: 69.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008016/0.9509, allocations: 1.937 MB / 1.053 GB, free: 68.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005241/0.9561, allocations: 1.409 MB / 1.054 GB, free: 68.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.009551/0.9657, allocations: 4.92 MB / 1.059 GB, free: 67.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.9679, allocations: 1.121 MB / 1.06 GB, free: 67.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003121/0.971, allocations: 1.246 MB / 1.061 GB, free: 66.81 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.9728, allocations: 1.192 MB / 1.063 GB, free: 66.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.973, allocations: 73.78 kB / 1.063 GB, free: 66.33 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.9776, allocations: 1.519 MB / 1.064 GB, free: 65.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005857/0.9782, allocations: 0.5093 MB / 1.065 GB, free: 65.59 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001494/0.9797, allocations: 0.9904 MB / 1.066 GB, free: 64.97 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005546/0.9852, allocations: 3.347 MB / 1.069 GB, free: 63.75 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.9852, allocations: 0 / 1.069 GB, free: 63.75 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9853, allocations: 0 / 1.069 GB, free: 63.75 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.614e-05/0.9853, allocations: 3.125 kB / 1.069 GB, free: 63.75 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005253/0.9906, allocations: 2.706 MB / 1.072 GB, free: 61.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.9906, allocations: 9.531 kB / 1.072 GB, free: 61.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005868/0.9912, allocations: 245.2 kB / 1.072 GB, free: 61.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.9943, allocations: 1.902 MB / 1.074 GB, free: 60.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/0.9944, allocations: 79.61 kB / 1.074 GB, free: 60.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.9946, allocations: 95.75 kB / 1.074 GB, free: 60.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.9961, allocations: 1.024 MB / 1.075 GB, free: 60.25 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.9961, allocations: 0 / 1.075 GB, free: 60.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.976e-05/0.9962, allocations: 44.72 kB / 1.075 GB, free: 60.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.353e-05/0.9963, allocations: 26.42 kB / 1.075 GB, free: 60.21 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.9973, allocations: 0.7296 MB / 1.076 GB, free: 59.95 MB / 0.7448 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/1.003, allocations: 4.788 MB / 1.08 GB, free: 56.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007231/1.004, allocations: 454.5 kB / 1.081 GB, free: 56.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004008/1.004, allocations: 321.6 kB / 1.081 GB, free: 56.61 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/1.005, allocations: 0.8282 MB / 1.082 GB, free: 55.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005647/1.005, allocations: 411.7 kB / 1.082 GB, free: 55.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=65): time 2.695e-06/1.005, allocations: 0 / 1.082 GB, free: 55.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.004706/1.01, allocations: 2.558 MB / 1.085 GB, free: 53.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/1.01, allocations: 119.6 kB / 1.085 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/1.013, allocations: 2.729 MB / 1.087 GB, free: 52.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.69e-05/1.013, allocations: 47.14 kB / 1.087 GB, free: 52.9 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006244/1.014, allocations: 0.9 MB / 1.088 GB, free: 52.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/1.014, allocations: 213.6 kB / 1.089 GB, free: 52.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/1.014, allocations: 172.7 kB / 1.089 GB, free: 51.94 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.956e-05/1.015, allocations: 334.5 kB / 1.089 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004479/1.015, allocations: 267.8 kB / 1.089 GB, free: 51.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005179/1.016, allocations: 491.7 kB / 1.09 GB, free: 51.19 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/1.016, allocations: 0.8015 MB / 1.091 GB, free: 50.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.016, allocations: 3.25 kB / 1.091 GB, free: 50.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001647/1.018, allocations: 1.134 MB / 1.092 GB, free: 50.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/1.018, allocations: 71.62 kB / 1.092 GB, free: 50.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.018, allocations: 3.828 kB / 1.092 GB, free: 50.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004533/1.019, allocations: 115.5 kB / 1.092 GB, free: 50.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/1.019, allocations: 139 kB / 1.092 GB, free: 50 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/1.021, allocations: 2.19 MB / 1.094 GB, free: 47.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.022, allocations: 99.89 kB / 1.094 GB, free: 47.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/1.022, allocations: 36.62 kB / 1.094 GB, free: 47.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001215/1.023, allocations: 0.7296 MB / 1.095 GB, free: 47.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004918/1.024, allocations: 481.4 kB / 1.095 GB, free: 47.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008229/1.024, allocations: 0.7923 MB / 1.096 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/1.024, allocations: 3.406 kB / 1.096 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001589/1.026, allocations: 1.125 MB / 1.097 GB, free: 46.2 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.017e-05/1.026, allocations: 69.02 kB / 1.097 GB, free: 46.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.026, allocations: 10.34 kB / 1.097 GB, free: 46.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/1.026, allocations: 121.2 kB / 1.097 GB, free: 46.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.027, allocations: 129.4 kB / 1.098 GB, free: 46.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/1.028, allocations: 2.189 MB / 1.1 GB, free: 44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.03, allocations: 103.8 kB / 1.1 GB, free: 43.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/1.03, allocations: 40.08 kB / 1.1 GB, free: 43.96 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003183/1.03, allocations: 293.9 kB / 1.1 GB, free: 43.69 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.03, allocations: 206.2 kB / 1.1 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/1.032, allocations: 1.177 MB / 1.102 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.032, allocations: 9.531 kB / 1.102 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.032, allocations: 0.5625 kB / 1.102 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001084/1.033, allocations: 0.9258 MB / 1.102 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/1.037, allocations: 2.565 MB / 1.105 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.037, allocations: 7.266 kB / 1.105 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/1.038, allocations: 83.86 kB / 1.105 GB, free: 41.35 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003712/1.038, allocations: 119.7 kB / 1.105 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/1.038, allocations: 24.88 kB / 1.105 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/1.04, allocations: 2.179 MB / 1.107 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.04, allocations: 3.219 kB / 1.107 GB, free: 39.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/1.054, allocations: 9.862 MB / 1.117 GB, free: 33.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/1.055, allocations: 414.1 kB / 1.117 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/1.055, allocations: 22.47 kB / 1.117 GB, free: 33.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008055/1.056, allocations: 70.67 kB / 1.117 GB, free: 33.07 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.056, allocations: 40.36 kB / 1.117 GB, free: 33.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/1.056, allocations: 33.78 kB / 1.117 GB, free: 33.06 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002688/1.059, allocations: 2.004 MB / 1.119 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.059, allocations: 0 / 1.119 GB, free: 32.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003987/1.063, allocations: 1.241 MB / 1.121 GB, free: 32.24 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 12 (TIn.nextEvent,TIn.last,TIn.nextEventScaled,TIn.b,TIn.a,$whenCondition2,y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002051/1.065, allocations: 0.8055 MB / 1.121 GB, free: 31.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002593/1.068, allocations: 1.703 MB / 1.123 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.068, allocations: 0.5 kB / 1.123 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/1.068, allocations: 0.6344 MB / 1.124 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/1.073, allocations: 0.777 MB / 1.124 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006696/1.08, allocations: 4.709 MB / 1.129 GB, free: 27.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.081, allocations: 1.475 MB / 1.131 GB, free: 26.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001804/1.083, allocations: 376.1 kB / 1.131 GB, free: 26.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/1.083, allocations: 126 kB / 1.131 GB, free: 26.67 MB / 0.7448 GB Notification: Performance of SimCode: time 1.212e-06/1.083, allocations: 0 / 1.131 GB, free: 26.67 MB / 0.7448 GB Notification: Performance of Templates: time 0.08678/1.17, allocations: 37.17 MB / 1.167 GB, free: 21.02 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)