Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [/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.1662/0.168, allocations: 80.83 MB / 0.5897 GB, free: 7.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003168/0.1712, allocations: 2.01 MB / 0.5916 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003927/0.1752, allocations: 3.456 MB / 0.595 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1753, allocations: 0 / 0.595 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.1756, allocations: 47.73 kB / 0.5951 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.176, allocations: 103.4 kB / 0.5952 GB, free: 1.445 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.1762, allocations: 75.84 kB / 0.5952 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.1765, allocations: 315.1 kB / 0.5955 GB, free: 1.062 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1766, allocations: 41.64 kB / 0.5956 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1768, allocations: 99.56 kB / 0.5957 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.177, allocations: 119.5 kB / 0.5958 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.1771, allocations: 8 kB / 0.5958 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.957e-05/0.1772, allocations: 39.97 kB / 0.5958 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.723e-05/0.1772, allocations: 55.75 kB / 0.5959 GB, free: 0.707 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.978e-05/0.1773, allocations: 91.45 kB / 0.596 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.1776, allocations: 223.2 kB / 0.5962 GB, free: 408 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1776, allocations: 8 kB / 0.5962 GB, free: 400 kB / 446.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1776, allocations: 0 / 0.5962 GB, free: 400 kB / 446.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1776, allocations: 0 / 0.5962 GB, free: 400 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00104/0.1787, allocations: 0.5525 MB / 0.5967 GB, free: 15.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1787, allocations: 8.031 kB / 0.5967 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.665e-05/0.1788, allocations: 28.59 kB / 0.5968 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.1791, allocations: 271 kB / 0.597 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1792, allocations: 4 kB / 0.597 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1792, allocations: 8 kB / 0.597 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003255/0.1795, allocations: 125.6 kB / 0.5972 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1795, allocations: 0 / 0.5972 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1795, allocations: 0 / 0.5972 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1796, allocations: 4 kB / 0.5972 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.18, allocations: 111.9 kB / 0.5973 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1811, allocations: 0.5199 MB / 0.5978 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1816, allocations: 154.5 kB / 0.5979 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1819, allocations: 76.73 kB / 0.598 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1819, allocations: 4 kB / 0.598 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1819, allocations: 30.56 kB / 0.598 GB, free: 14.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1819, allocations: 0 / 0.598 GB, free: 14.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007281/0.1827, allocations: 257.3 kB / 0.5983 GB, free: 14.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.1827, allocations: 51.41 kB / 0.5983 GB, free: 14.03 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.1829, allocations: 250.6 kB / 0.5986 GB, free: 13.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.183, allocations: 25.7 kB / 0.5986 GB, free: 13.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.183, allocations: 132 kB / 0.5987 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.1831, allocations: 31.55 kB / 0.5987 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/0.1832, allocations: 49.59 kB / 0.5988 GB, free: 13.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1833, allocations: 330.8 kB / 0.5991 GB, free: 13.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.1835, allocations: 91.92 kB / 0.5992 GB, free: 13.1 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.1838, allocations: 99.92 kB / 0.5993 GB, free: 13 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004467/0.1842, allocations: 172.7 kB / 0.5995 GB, free: 12.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1843, allocations: 0 / 0.5995 GB, free: 12.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009236/0.1852, allocations: 348.6 kB / 0.5998 GB, free: 12.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1852, allocations: 4 kB / 0.5998 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1852, allocations: 7.984 kB / 0.5998 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.1858, allocations: 109.1 kB / 0.5999 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.186, allocations: 43.95 kB / 0.5999 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.188, allocations: 1.717 MB / 0.6016 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1882, allocations: 23.83 kB / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1882, allocations: 4 kB / 0.6016 GB, free: 10.44 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.1884, allocations: 139 kB / 0.6018 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.1884, allocations: 19.72 kB / 0.6018 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.1885, allocations: 25.64 kB / 0.6018 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1885, allocations: 4 kB / 0.6018 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.1885, allocations: 0 / 0.6018 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1885, allocations: 0 / 0.6018 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.1887, allocations: 245.5 kB / 0.6021 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1887, allocations: 0 / 0.6021 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.1889, allocations: 43.89 kB / 0.6021 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.1889, allocations: 8 kB / 0.6021 GB, free: 9.906 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.189, allocations: 3.938 kB / 0.6021 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.189, allocations: 3.938 kB / 0.6021 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.189, allocations: 0 / 0.6021 GB, free: 9.898 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.1895, allocations: 291.1 kB / 0.6024 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1896, allocations: 104.8 kB / 0.6025 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1896, allocations: 7.938 kB / 0.6025 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.1898, allocations: 7.984 kB / 0.6025 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.1898, allocations: 11.98 kB / 0.6025 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1898, allocations: 12.05 kB / 0.6025 GB, free: 9.438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.19, allocations: 170 kB / 0.6027 GB, free: 9.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.19, allocations: 96 / 0.6027 GB, free: 9.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.1903, allocations: 64.06 kB / 0.6028 GB, free: 9.207 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.1904, allocations: 107.2 kB / 0.6029 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008062/0.1913, allocations: 338.5 kB / 0.6032 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1913, allocations: 0 / 0.6032 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.1915, allocations: 79.88 kB / 0.6033 GB, free: 8.672 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1918, allocations: 20.55 kB / 0.6033 GB, free: 8.652 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.1926, allocations: 492.8 kB / 0.6037 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1929, allocations: 0.736 MB / 0.6045 GB, free: 7.391 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.1931, allocations: 44.59 kB / 0.6045 GB, free: 7.348 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.1931, allocations: 19.42 kB / 0.6045 GB, free: 7.328 MB / 462.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1931, allocations: 0 / 0.6045 GB, free: 7.328 MB / 462.1 MB Notification: Performance of Templates: time 0.005243/0.1984, allocations: 2.452 MB / 0.6069 GB, free: 4.93 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)