Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001047/0.001047, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006857/0.006857, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.902/2.902, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004658/0.0004658, allocations: 9.766 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3797, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1768/0.5566, allocations: 158.6 MB / 1.229 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005751/0.5624, allocations: 3.46 MB / 1.232 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005819/0.563, allocations: 19.88 kB / 1.232 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008385/0.5638, allocations: 250.9 kB / 1.233 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002084/0.5659, allocations: 0.7897 MB / 1.233 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.5672, allocations: 434.1 kB / 1.234 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001657/0.5688, allocations: 1.375 MB / 1.235 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.5693, allocations: 268.1 kB / 1.235 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006129/0.5699, allocations: 342.4 kB / 1.236 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009898/0.5709, allocations: 337.5 kB / 1.236 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.571, allocations: 16 kB / 1.236 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.5726, allocations: 0.7949 MB / 1.237 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.5727, allocations: 139.5 kB / 1.237 GB, free: 156 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.5731, allocations: 268.3 kB / 1.237 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.5745, allocations: 0.9384 MB / 1.238 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5745, allocations: 0 / 1.238 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.684e-06/0.5745, allocations: 4 kB / 1.238 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.5745, allocations: 0 / 1.238 GB, free: 14.94 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.001401/0.5759, allocations: 0.7785 MB / 1.239 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.576, allocations: 8.031 kB / 1.239 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.5771, allocations: 155.2 kB / 1.239 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007618/0.5779, allocations: 488.9 kB / 1.24 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.5779, allocations: 24.55 kB / 1.24 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.578, allocations: 36 kB / 1.24 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.5786, allocations: 323.6 kB / 1.24 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5786, allocations: 0 / 1.24 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.977e-05/0.5786, allocations: 12 kB / 1.24 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/0.5787, allocations: 8.562 kB / 1.24 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004248/0.5791, allocations: 218.1 kB / 1.24 GB, free: 12.82 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.002064/0.5812, allocations: 1.418 MB / 1.242 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.5816, allocations: 214.8 kB / 1.242 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.5818, allocations: 112.8 kB / 1.242 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.5818, allocations: 4.438 kB / 1.242 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003302/0.5822, allocations: 169.5 kB / 1.242 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 2.595e-06/0.5822, allocations: 0 / 1.242 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002999/0.5852, allocations: 1.093 MB / 1.243 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5853, allocations: 63.34 kB / 1.243 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005432/0.5858, allocations: 457.9 kB / 1.244 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.891e-05/0.5859, allocations: 29.7 kB / 1.244 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.5861, allocations: 244.1 kB / 1.244 GB, free: 8.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.5862, allocations: 102.6 kB / 1.244 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.5863, allocations: 41.69 kB / 1.244 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5864, allocations: 358.8 kB / 1.244 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/0.5867, allocations: 124.7 kB / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.587, allocations: 178.9 kB / 1.245 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.5875, allocations: 307.9 kB / 1.245 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5875, allocations: 3.938 kB / 1.245 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009908/0.5885, allocations: 490.2 kB / 1.245 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.5885, allocations: 4 kB / 1.245 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.5885, allocations: 4 kB / 1.245 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003829/0.5889, allocations: 76.8 kB / 1.245 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.5892, allocations: 67.91 kB / 1.246 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.5911, allocations: 1.756 MB / 1.247 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.5915, allocations: 23.98 kB / 1.247 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.5916, allocations: 12 kB / 1.247 GB, free: 5.086 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.0002694/0.5918, allocations: 198 kB / 1.247 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.188e-05/0.5919, allocations: 47.5 kB / 1.247 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.592, allocations: 56.56 kB / 1.248 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.5921, allocations: 4 kB / 1.248 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5921, allocations: 0 / 1.248 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.5921, allocations: 3.984 kB / 1.248 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.5937, allocations: 0.9724 MB / 1.248 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5937, allocations: 128 / 1.248 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.594, allocations: 63.91 kB / 1.249 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.5944, allocations: 80.69 kB / 1.249 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/0.5944, allocations: 8 kB / 1.249 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.5959, allocations: 1.566 MB / 1.25 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5959, allocations: 0 / 1.25 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.597, allocations: 0.5699 MB / 1.251 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.5972, allocations: 148.5 kB / 1.251 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.5973, allocations: 12 kB / 1.251 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.5977, allocations: 19.98 kB / 1.251 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.5978, allocations: 19.97 kB / 1.251 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.5978, allocations: 12 kB / 1.251 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003693/0.5982, allocations: 307.1 kB / 1.251 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5982, allocations: 0 / 1.251 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005546/0.5987, allocations: 127.9 kB / 1.251 GB, free: 0.6445 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.001014/0.5998, allocations: 442.4 kB / 1.252 GB, free: 376 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.5866/1.186, allocations: 413.7 kB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.186, allocations: 1.656 kB / 1.252 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006083/1.187, allocations: 249.9 kB / 1.252 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002089/1.189, allocations: 229.5 kB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/1.192, allocations: 1.226 MB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/1.193, allocations: 0.8527 MB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006584/1.194, allocations: 85.31 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/1.194, allocations: 38.7 kB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.194, allocations: 0 / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.0281/1.222, allocations: 8.503 MB / 1.263 GB, free: 180.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)