Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 115.1 kB / 16.42 MB, free: 6.504 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.001774/0.001774, allocations: 183.9 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.63/2.63, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 67.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.06131/1.207, allocations: 57.85 MB / 1.265 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01767/1.224, allocations: 11.9 MB / 1.277 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/1.227, allocations: 55.69 kB / 1.277 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003601/1.23, allocations: 1.263 MB / 1.278 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006019/1.236, allocations: 2.122 MB / 1.28 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/1.241, allocations: 1.605 MB / 1.281 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00598/1.247, allocations: 3.916 MB / 1.285 GB, free: 14.68 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/1.249, allocations: 1.324 MB / 1.287 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003954/1.253, allocations: 1.464 MB / 1.288 GB, free: 11.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/1.256, allocations: 1.198 MB / 1.289 GB, free: 10.65 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006712/1.256, allocations: 144 kB / 1.289 GB, free: 10.51 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/1.26, allocations: 1.642 MB / 1.291 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009393/1.261, allocations: 0.5762 MB / 1.291 GB, free: 8.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/1.264, allocations: 1.061 MB / 1.293 GB, free: 7.223 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007223/1.271, allocations: 3.437 MB / 1.296 GB, free: 3.777 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/1.271, allocations: 3.984 kB / 1.296 GB, free: 3.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.923e-06/1.271, allocations: 0 / 1.296 GB, free: 3.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001181/1.272, allocations: 0 / 1.296 GB, free: 3.773 MB / 1.014 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.00659/1.278, allocations: 2.707 MB / 1.299 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/1.278, allocations: 12.03 kB / 1.299 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/1.279, allocations: 250 kB / 1.299 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003827/1.283, allocations: 1.929 MB / 1.301 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.847e-05/1.283, allocations: 74 kB / 1.301 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/1.283, allocations: 96 kB / 1.301 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/1.285, allocations: 1.027 MB / 1.302 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/1.285, allocations: 7.938 kB / 1.302 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.936e-05/1.285, allocations: 36 kB / 1.302 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.704e-05/1.285, allocations: 24 kB / 1.302 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/1.287, allocations: 0.7456 MB / 1.303 GB, free: 12.68 MB / 1.029 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.006769/1.293, allocations: 4.768 MB / 1.307 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000792/1.294, allocations: 458.7 kB / 1.308 GB, free: 7.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/1.295, allocations: 330.2 kB / 1.308 GB, free: 6.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/1.295, allocations: 0.82 MB / 1.309 GB, free: 5.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006423/1.296, allocations: 417.8 kB / 1.309 GB, free: 5.473 MB / 1.029 GB Notification: Performance of pre-optimization done (n=65): time 3.957e-06/1.296, allocations: 112 / 1.309 GB, free: 5.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=67): time 0.005149/1.301, allocations: 2.56 MB / 1.312 GB, free: 2.793 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/1.301, allocations: 115.4 kB / 1.312 GB, free: 2.656 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/1.305, allocations: 2.756 MB / 1.315 GB, free: 15.87 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.954e-05/1.305, allocations: 49.64 kB / 1.315 GB, free: 15.81 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000816/1.306, allocations: 0.8993 MB / 1.315 GB, free: 14.9 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/1.306, allocations: 216.9 kB / 1.316 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002678/1.307, allocations: 162.5 kB / 1.316 GB, free: 14.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.307, allocations: 337.9 kB / 1.316 GB, free: 14.19 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004364/1.307, allocations: 272.7 kB / 1.316 GB, free: 13.92 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/1.308, allocations: 482.3 kB / 1.317 GB, free: 13.37 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.309, allocations: 0.7966 MB / 1.318 GB, free: 12.49 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.309, allocations: 4 kB / 1.318 GB, free: 12.48 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001977/1.311, allocations: 1.132 MB / 1.319 GB, free: 11.32 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/1.311, allocations: 71.39 kB / 1.319 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.311, allocations: 4 kB / 1.319 GB, free: 11.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/1.312, allocations: 122.2 kB / 1.319 GB, free: 11.11 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/1.312, allocations: 135.8 kB / 1.319 GB, free: 10.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/1.314, allocations: 2.363 MB / 1.321 GB, free: 8.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/1.315, allocations: 51.97 kB / 1.321 GB, free: 8.402 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/1.315, allocations: 36.11 kB / 1.321 GB, free: 8.367 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001068/1.316, allocations: 0.7375 MB / 1.322 GB, free: 7.625 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005656/1.317, allocations: 485.6 kB / 1.323 GB, free: 7.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009796/1.318, allocations: 0.7927 MB / 1.323 GB, free: 6.195 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.728e-06/1.318, allocations: 4 kB / 1.323 GB, free: 6.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001847/1.32, allocations: 1.125 MB / 1.324 GB, free: 5.039 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.958e-05/1.32, allocations: 67.39 kB / 1.325 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.32, allocations: 8 kB / 1.325 GB, free: 4.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/1.32, allocations: 121.6 kB / 1.325 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/1.321, allocations: 136 kB / 1.325 GB, free: 4.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/1.322, allocations: 2.359 MB / 1.327 GB, free: 2.168 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/1.324, allocations: 51.95 kB / 1.327 GB, free: 2.117 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/1.324, allocations: 32 kB / 1.327 GB, free: 2.086 MB / 1.045 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.0003076/1.324, allocations: 303.6 kB / 1.327 GB, free: 1.77 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/1.324, allocations: 209.4 kB / 1.328 GB, free: 1.562 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/1.326, allocations: 1.175 MB / 1.329 GB, free: 364 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/1.327, allocations: 0.9184 MB / 1.33 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.327, allocations: 0 / 1.33 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/1.328, allocations: 398.5 kB / 1.33 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/1.328, allocations: 16.05 kB / 1.33 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/1.329, allocations: 43.94 kB / 1.33 GB, free: 14.92 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/1.329, allocations: 44.5 kB / 1.33 GB, free: 14.88 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001902/1.331, allocations: 1.145 MB / 1.331 GB, free: 13.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002025/1.333, allocations: 1.51 MB / 1.333 GB, free: 12.14 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000457/1.334, allocations: 356.4 kB / 1.333 GB, free: 11.79 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002965/1.337, allocations: 1.964 MB / 1.335 GB, free: 9.809 MB / 1.061 GB Notification: Performance of Backend: time 5.21e-07/1.337, allocations: 0 / 1.335 GB, free: 9.809 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005396/1.342, allocations: 2.473 MB / 1.337 GB, free: 7.445 MB / 1.061 GB Notification: Performance of SimCode: time 0.008091/1.35, allocations: 4.357 MB / 1.342 GB, free: 3.02 MB / 1.061 GB Notification: Performance of Templates: time 0.06047/1.411, allocations: 36.86 MB / 1.378 GB, free: 14.5 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile (rm -f Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1)