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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2079/0.21, allocations: 80.83 MB / 0.6706 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.8141/1.024, allocations: 162.6 MB / 0.8293 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004935/1.029, allocations: 2.791 MB / 0.8321 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006019/1.03, allocations: 18.56 kB / 0.8321 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009697/1.031, allocations: 270.4 kB / 0.8323 GB, free: 12.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001984/1.033, allocations: 0.8382 MB / 0.8332 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/1.034, allocations: 439.4 kB / 0.8336 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00137/1.035, allocations: 1.081 MB / 0.8346 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/1.036, allocations: 295.8 kB / 0.8349 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005614/1.036, allocations: 391.5 kB / 0.8353 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008212/1.037, allocations: 327.7 kB / 0.8356 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/1.037, allocations: 38.19 kB / 0.8356 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/1.039, allocations: 0.6774 MB / 0.8363 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/1.039, allocations: 160.9 kB / 0.8365 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002296/1.039, allocations: 248.2 kB / 0.8367 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/1.04, allocations: 0.8632 MB / 0.8375 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/1.04, allocations: 0 / 0.8375 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/1.04, allocations: 0 / 0.8375 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.295e-06/1.04, allocations: 0 / 0.8375 GB, free: 9.121 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001355/1.041, allocations: 0.8111 MB / 0.8383 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.042, allocations: 14.17 kB / 0.8383 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/1.043, allocations: 147.5 kB / 0.8385 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/1.043, allocations: 454.4 kB / 0.8389 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/1.043, allocations: 18.19 kB / 0.8389 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/1.043, allocations: 28.81 kB / 0.839 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/1.044, allocations: 315.9 kB / 0.8393 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.044, allocations: 5.156 kB / 0.8393 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/1.044, allocations: 10.72 kB / 0.8393 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/1.044, allocations: 14.66 kB / 0.8393 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/1.044, allocations: 206.3 kB / 0.8395 GB, free: 7.633 MB / 0.6075 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.001782/1.046, allocations: 1.345 MB / 0.8408 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003952/1.047, allocations: 222.4 kB / 0.841 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/1.047, allocations: 104.1 kB / 0.8411 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/1.047, allocations: 2.906 kB / 0.8411 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/1.047, allocations: 170.5 kB / 0.8413 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 4.959e-06/1.047, allocations: 3.938 kB / 0.8413 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.003246/1.05, allocations: 1.133 MB / 0.8424 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.05, allocations: 58.09 kB / 0.8424 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/1.051, allocations: 402.4 kB / 0.8428 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/1.051, allocations: 32.45 kB / 0.8429 GB, free: 5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/1.051, allocations: 212 kB / 0.8431 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.051, allocations: 110 kB / 0.8432 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.051, allocations: 64.44 kB / 0.8432 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002173/1.052, allocations: 348.6 kB / 0.8436 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/1.052, allocations: 103.2 kB / 0.8437 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/1.052, allocations: 162.5 kB / 0.8438 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/1.053, allocations: 281.2 kB / 0.8441 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.053, allocations: 2.75 kB / 0.8441 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000992/1.054, allocations: 433.3 kB / 0.8445 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/1.054, allocations: 8.328 kB / 0.8445 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.054, allocations: 3.812 kB / 0.8445 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004362/1.054, allocations: 85.05 kB / 0.8446 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/1.054, allocations: 57.3 kB / 0.8446 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/1.057, allocations: 1.955 MB / 0.8466 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/1.057, allocations: 18.73 kB / 0.8466 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/1.057, allocations: 9.531 kB / 0.8466 GB, free: 1.824 MB / 0.6075 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.nextTimeEvent,$whenCondition1,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002221/1.057, allocations: 181.3 kB / 0.8468 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/1.057, allocations: 46 kB / 0.8468 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/1.057, allocations: 54.73 kB / 0.8468 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.057, allocations: 12.75 kB / 0.8469 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/1.057, allocations: 0 / 0.8469 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.057, allocations: 3.938 kB / 0.8469 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/1.059, allocations: 0.9921 MB / 0.8478 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/1.059, allocations: 7.969 kB / 0.8478 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/1.059, allocations: 68.95 kB / 0.8479 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/1.06, allocations: 75.89 kB / 0.848 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/1.06, allocations: 12.58 kB / 0.848 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/1.061, allocations: 1.643 MB / 0.8496 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.061, allocations: 4.062 kB / 0.8496 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/1.062, allocations: 0.5736 MB / 0.8502 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/1.062, allocations: 148.6 kB / 0.8503 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.943e-05/1.062, allocations: 21.11 kB / 0.8503 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/1.063, allocations: 9.109 kB / 0.8503 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/1.063, allocations: 23.92 kB / 0.8504 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/1.063, allocations: 13.36 kB / 0.8504 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003252/1.063, allocations: 285 kB / 0.8506 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.063, allocations: 0 / 0.8506 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005832/1.064, allocations: 120.5 kB / 0.8508 GB, free: 14.39 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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.001145/1.065, allocations: 429.3 kB / 0.8512 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009246/1.066, allocations: 418.8 kB / 0.8516 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.066, allocations: 0 / 0.8516 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000312/1.066, allocations: 252.4 kB / 0.8518 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/1.067, allocations: 239.2 kB / 0.852 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/1.069, allocations: 0.968 MB / 0.853 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004534/1.07, allocations: 0.8296 MB / 0.8538 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003086/1.07, allocations: 84.3 kB / 0.8539 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/1.07, allocations: 32.53 kB / 0.8539 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/1.07, allocations: 0 / 0.8539 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of Templates: time 0.01461/1.085, allocations: 8.474 MB / 0.8622 GB, free: 5.387 MB / 0.6231 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)