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.2154/0.2174, allocations: 80.84 MB / 0.5899 GB, free: 0.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7078/0.9253, allocations: 160.3 MB / 0.7464 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005478/0.9309, allocations: 2.778 MB / 0.7491 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.9316, allocations: 15.94 kB / 0.7492 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.9327, allocations: 243 kB / 0.7494 GB, free: 8.754 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/0.9352, allocations: 0.7742 MB / 0.7502 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.9365, allocations: 423.8 kB / 0.7506 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.9379, allocations: 1.072 MB / 0.7516 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.9384, allocations: 307 kB / 0.7519 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006567/0.939, allocations: 390.5 kB / 0.7523 GB, free: 5.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.9401, allocations: 338.2 kB / 0.7526 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.9401, allocations: 40 kB / 0.7526 GB, free: 5.438 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001534/0.9417, allocations: 0.717 MB / 0.7533 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.9419, allocations: 159.5 kB / 0.7535 GB, free: 4.562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.9422, allocations: 246.8 kB / 0.7537 GB, free: 4.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.9435, allocations: 0.9113 MB / 0.7546 GB, free: 3.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.9435, allocations: 0 / 0.7546 GB, free: 3.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9435, allocations: 4 kB / 0.7546 GB, free: 3.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.9435, allocations: 0 / 0.7546 GB, free: 3.402 MB / 0.545 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.001387/0.9449, allocations: 0.8025 MB / 0.7554 GB, free: 2.551 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.945, allocations: 12.03 kB / 0.7554 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.946, allocations: 156.9 kB / 0.7556 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.9467, allocations: 441.1 kB / 0.756 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.9468, allocations: 20.56 kB / 0.756 GB, free: 1.902 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.9469, allocations: 28 kB / 0.756 GB, free: 1.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.9475, allocations: 311.6 kB / 0.7563 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.9475, allocations: 0 / 0.7563 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.9475, allocations: 12 kB / 0.7563 GB, free: 1.551 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.189e-05/0.9476, allocations: 16.5 kB / 0.7563 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.948, allocations: 206.1 kB / 0.7565 GB, free: 1.332 MB / 0.545 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.002002/0.95, allocations: 1.344 MB / 0.7579 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.9504, allocations: 218.8 kB / 0.7581 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.9506, allocations: 112.8 kB / 0.7582 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/0.9506, allocations: 4 kB / 0.7582 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/0.951, allocations: 164.2 kB / 0.7583 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.951, allocations: 4 kB / 0.7583 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.003104/0.9541, allocations: 1.132 MB / 0.7594 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.9542, allocations: 55.41 kB / 0.7595 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.9546, allocations: 397.7 kB / 0.7599 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.9547, allocations: 33.7 kB / 0.7599 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.9549, allocations: 220.3 kB / 0.7601 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.955, allocations: 114.4 kB / 0.7602 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.9551, allocations: 58.03 kB / 0.7603 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9553, allocations: 358.8 kB / 0.7606 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.9555, allocations: 104.6 kB / 0.7607 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.9557, allocations: 161.1 kB / 0.7609 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.9561, allocations: 282.8 kB / 0.7611 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.9562, allocations: 0 / 0.7611 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000858/0.957, allocations: 441.5 kB / 0.7616 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.9571, allocations: 4 kB / 0.7616 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.9571, allocations: 4 kB / 0.7616 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003823/0.9575, allocations: 80.92 kB / 0.7617 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.9577, allocations: 55.92 kB / 0.7617 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.96, allocations: 1.957 MB / 0.7636 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.9605, allocations: 23.89 kB / 0.7636 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.9605, allocations: 12 kB / 0.7637 GB, free: 9.598 MB / 0.5606 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.0003416/0.9608, allocations: 190.3 kB / 0.7638 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.9609, allocations: 41.41 kB / 0.7639 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.961, allocations: 52.38 kB / 0.7639 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9611, allocations: 4 kB / 0.7639 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.9611, allocations: 0 / 0.7639 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.9611, allocations: 3.984 kB / 0.7639 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.9628, allocations: 0.9889 MB / 0.7649 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9628, allocations: 3.938 kB / 0.7649 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.9632, allocations: 67.91 kB / 0.765 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.9635, allocations: 80.81 kB / 0.765 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.9635, allocations: 11.98 kB / 0.7651 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.9651, allocations: 1.646 MB / 0.7667 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9651, allocations: 0 / 0.7667 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.9662, allocations: 0.5845 MB / 0.7672 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.9664, allocations: 152.6 kB / 0.7674 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.9664, allocations: 8 kB / 0.7674 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.9668, allocations: 23.89 kB / 0.7674 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.9669, allocations: 19.97 kB / 0.7674 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.9669, allocations: 20.8 kB / 0.7674 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003305/0.9673, allocations: 287.1 kB / 0.7677 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9673, allocations: 0 / 0.7677 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005759/0.9679, allocations: 112 kB / 0.7678 GB, free: 5.078 MB / 0.5606 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.001188/0.9691, allocations: 422.4 kB / 0.7682 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001084/0.9702, allocations: 435.4 kB / 0.7686 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.9702, allocations: 3.938 kB / 0.7686 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003389/0.9705, allocations: 262.5 kB / 0.7689 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.9717, allocations: 229.7 kB / 0.7691 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.9735, allocations: 1.106 MB / 0.7702 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.9739, allocations: 0.8386 MB / 0.771 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003503/0.9743, allocations: 83.34 kB / 0.7711 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.9744, allocations: 39.42 kB / 0.7711 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.9744, allocations: 0 / 0.7711 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.01664/0.991, allocations: 8.39 MB / 0.7793 GB, free: 9.516 MB / 0.5762 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)