Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 64.41 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3109, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1731/0.484, allocations: 162.9 MB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00561/0.4896, allocations: 3.486 MB / 1.231 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.4903, allocations: 15.94 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009103/0.4912, allocations: 278.4 kB / 1.231 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.4935, allocations: 0.8633 MB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.4948, allocations: 469.7 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.4962, allocations: 1.095 MB / 1.233 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.4967, allocations: 328.1 kB / 1.234 GB, free: 324 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007371/0.4975, allocations: 398.5 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008793/0.4984, allocations: 349.9 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.4985, allocations: 44 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.4998, allocations: 0.6976 MB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.5, allocations: 163.5 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003324/0.5004, allocations: 278.6 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.5017, allocations: 0.9231 MB / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5017, allocations: 0 / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5018, allocations: 0 / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.5018, allocations: 0 / 1.236 GB, free: 13.48 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001337/0.5031, allocations: 0.8679 MB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.5031, allocations: 12.03 kB / 1.237 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.5042, allocations: 151.2 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006839/0.5049, allocations: 492.9 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.5049, allocations: 24.56 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/0.505, allocations: 24 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.5055, allocations: 319.6 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5056, allocations: 4 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.5056, allocations: 19.98 kB / 1.238 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.5056, allocations: 12.5 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.5061, allocations: 222.1 kB / 1.238 GB, free: 11.26 MB / 0.9981 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.001922/0.508, allocations: 1.422 MB / 1.24 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.5084, allocations: 218.7 kB / 1.24 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.5086, allocations: 112.8 kB / 1.24 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.5086, allocations: 4.438 kB / 1.24 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.5089, allocations: 161.6 kB / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.5089, allocations: 0 / 1.24 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002791/0.5117, allocations: 1.093 MB / 1.241 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.5118, allocations: 63.28 kB / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005006/0.5123, allocations: 469.8 kB / 1.242 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.5123, allocations: 33.7 kB / 1.242 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.5125, allocations: 232.3 kB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.038e-05/0.5126, allocations: 102.5 kB / 1.242 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5127, allocations: 70.08 kB / 1.242 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5129, allocations: 358.8 kB / 1.243 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.5131, allocations: 128.7 kB / 1.243 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.5134, allocations: 186.8 kB / 1.243 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/0.5139, allocations: 299.9 kB / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5139, allocations: 0 / 1.243 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000954/0.5148, allocations: 497.8 kB / 1.244 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.5149, allocations: 8 kB / 1.244 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5149, allocations: 0 / 1.244 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003528/0.5152, allocations: 80.8 kB / 1.244 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.5155, allocations: 67.91 kB / 1.244 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.5172, allocations: 1.908 MB / 1.246 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/0.5176, allocations: 12 kB / 1.246 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.5176, allocations: 15.98 kB / 1.246 GB, free: 3.344 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002111/0.5178, allocations: 186.6 kB / 1.246 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.5179, allocations: 51.44 kB / 1.246 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.518, allocations: 60.59 kB / 1.246 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.518, allocations: 8.031 kB / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.518, allocations: 0 / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.5181, allocations: 0 / 1.246 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.5195, allocations: 0.9795 MB / 1.247 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5196, allocations: 4 kB / 1.247 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.5199, allocations: 55.97 kB / 1.247 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.5202, allocations: 80.78 kB / 1.247 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.5203, allocations: 15.88 kB / 1.247 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/0.5216, allocations: 1.652 MB / 1.249 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5217, allocations: 0 / 1.249 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5066/1.028, allocations: 0.56 MB / 1.249 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/1.028, allocations: 150.3 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/1.029, allocations: 12.69 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/1.029, allocations: 12.83 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/1.029, allocations: 18.55 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/1.029, allocations: 13.91 kB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004432/1.03, allocations: 309 kB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.03, allocations: 4.5 kB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006638/1.03, allocations: 122.2 kB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/1.031, allocations: 429.3 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008392/1.032, allocations: 438 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.032, allocations: 4.719 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003169/1.032, allocations: 259.5 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/1.034, allocations: 242 kB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/1.035, allocations: 0.9945 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/1.036, allocations: 0.8591 MB / 1.253 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003741/1.036, allocations: 78.92 kB / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.96e-05/1.036, allocations: 37.77 kB / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/1.036, allocations: 0 / 1.253 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0168/1.053, allocations: 8.831 MB / 1.262 GB, free: 183.6 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)