Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.033/2.033, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001345, allocations: 195.4 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 0.7948 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009119/0.000912, allocations: 103.5 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009635/0.0009636, allocations: 51.14 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2119, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1219/0.3339, allocations: 160.7 MB / 1.375 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005147/0.3391, allocations: 3.515 MB / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005169/0.3396, allocations: 19.88 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.3404, allocations: 246.9 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.3423, allocations: 0.7933 MB / 1.379 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/0.3432, allocations: 419.2 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00145/0.3447, allocations: 1.386 MB / 1.381 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.3451, allocations: 284.1 kB / 1.381 GB, free: 13.35 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005855/0.3457, allocations: 358.4 kB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009512/0.3467, allocations: 351.6 kB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 6.876e-05/0.3468, allocations: 20 kB / 1.382 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.348, allocations: 0.791 MB / 1.383 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.3482, allocations: 147.5 kB / 1.383 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002685/0.3485, allocations: 242.7 kB / 1.383 GB, free: 11.46 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3497, allocations: 0.9619 MB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3497, allocations: 4 kB / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3497, allocations: 0 / 1.384 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.3497, allocations: 0 / 1.384 GB, free: 10.49 MB / 0.8855 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.001426/0.3511, allocations: 0.868 MB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3512, allocations: 11.98 kB / 1.385 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/0.3521, allocations: 147.2 kB / 1.385 GB, free: 9.418 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.3528, allocations: 492.9 kB / 1.386 GB, free: 8.895 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.3529, allocations: 28.56 kB / 1.386 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.353, allocations: 31.94 kB / 1.386 GB, free: 8.836 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.3534, allocations: 319.6 kB / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3535, allocations: 0 / 1.386 GB, free: 8.512 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.3535, allocations: 15.98 kB / 1.386 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.3535, allocations: 12.56 kB / 1.386 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.3539, allocations: 226 kB / 1.386 GB, free: 8.262 MB / 0.8855 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.001778/0.3557, allocations: 1.418 MB / 1.388 GB, free: 6.707 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.3561, allocations: 220.2 kB / 1.388 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000166/0.3562, allocations: 118.5 kB / 1.388 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.3563, allocations: 0 / 1.388 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002652/0.3566, allocations: 163.2 kB / 1.388 GB, free: 6.195 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3566, allocations: 3.938 kB / 1.388 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of matching and sorting (n=29): time 0.002559/0.3591, allocations: 1.092 MB / 1.389 GB, free: 5.043 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.3592, allocations: 63.34 kB / 1.389 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.3596, allocations: 461.8 kB / 1.39 GB, free: 4.508 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.3597, allocations: 33.7 kB / 1.39 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.3599, allocations: 232.3 kB / 1.39 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.36, allocations: 106.5 kB / 1.39 GB, free: 4.133 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.3601, allocations: 78.06 kB / 1.39 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3602, allocations: 346.8 kB / 1.391 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3604, allocations: 132.6 kB / 1.391 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.3607, allocations: 182.7 kB / 1.391 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.3611, allocations: 314.5 kB / 1.391 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3611, allocations: 0 / 1.391 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008854/0.362, allocations: 497.8 kB / 1.392 GB, free: 2.559 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.362, allocations: 8.766 kB / 1.392 GB, free: 2.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.362, allocations: 4 kB / 1.392 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.3624, allocations: 80.92 kB / 1.392 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.3626, allocations: 63.92 kB / 1.392 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.3641, allocations: 1.732 MB / 1.393 GB, free: 0.5391 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.3645, allocations: 27.89 kB / 1.393 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.3645, allocations: 16 kB / 1.393 GB, free: 0.4961 MB / 0.8855 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.0001798/0.3647, allocations: 189.8 kB / 1.394 GB, free: 308 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.3648, allocations: 47.44 kB / 1.394 GB, free: 260 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.3649, allocations: 56.56 kB / 1.394 GB, free: 200 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3649, allocations: 4 kB / 1.394 GB, free: 196 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3649, allocations: 0 / 1.394 GB, free: 196 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3649, allocations: 3.984 kB / 1.394 GB, free: 192 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.3663, allocations: 0.964 MB / 1.395 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3663, allocations: 0 / 1.395 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/0.3667, allocations: 63.97 kB / 1.395 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.367, allocations: 80.69 kB / 1.395 GB, free: 15.02 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.367, allocations: 12 kB / 1.395 GB, free: 15.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.3683, allocations: 1.538 MB / 1.396 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3683, allocations: 0 / 1.396 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00751/0.3758, allocations: 5.235 MB / 1.401 GB, free: 7.762 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/0.376, allocations: 148.5 kB / 1.402 GB, free: 7.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.3761, allocations: 12 kB / 1.402 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.3764, allocations: 24 kB / 1.402 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3765, allocations: 23.97 kB / 1.402 GB, free: 7.539 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.3765, allocations: 15.98 kB / 1.402 GB, free: 7.523 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002951/0.3768, allocations: 307.1 kB / 1.402 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3768, allocations: 0 / 1.402 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006511/0.3775, allocations: 180 kB / 1.402 GB, free: 7.047 MB / 0.9011 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.0008763/0.3784, allocations: 436 kB / 1.403 GB, free: 6.773 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000644/0.379, allocations: 418.8 kB / 1.403 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.379, allocations: 0 / 1.403 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.3793, allocations: 254.8 kB / 1.403 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.3804, allocations: 226 kB / 1.403 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3822, allocations: 1.502 MB / 1.405 GB, free: 4.324 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.3826, allocations: 0.8581 MB / 1.406 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003338/0.383, allocations: 88.33 kB / 1.406 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.3831, allocations: 35.44 kB / 1.406 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of SimCode: time 2.2e-07/0.3831, allocations: 0 / 1.406 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of Templates: time 0.01477/0.3979, allocations: 9.688 MB / 1.415 GB, free: 9.719 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)