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.1755/0.1762, allocations: 82.22 MB / 0.5934 GB, free: 5.973 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00219/0.1785, allocations: 1.571 MB / 0.5949 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003868/0.1824, allocations: 3.066 MB / 0.5979 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.723e-05/0.1825, allocations: 0 / 0.5979 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.1827, allocations: 47.75 kB / 0.5979 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.183, allocations: 103.7 kB / 0.598 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1832, allocations: 63.78 kB / 0.5981 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.1835, allocations: 179.7 kB / 0.5983 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1836, allocations: 25.66 kB / 0.5983 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.1838, allocations: 99.67 kB / 0.5984 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.184, allocations: 95.64 kB / 0.5985 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.184, allocations: 12 kB / 0.5985 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.55e-05/0.1841, allocations: 35.97 kB / 0.5985 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.1842, allocations: 51.8 kB / 0.5986 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.257e-05/0.1842, allocations: 61.58 kB / 0.5986 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.1845, allocations: 167.5 kB / 0.5988 GB, free: 392 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1845, allocations: 0 / 0.5988 GB, free: 392 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1845, allocations: 0 / 0.5988 GB, free: 392 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1845, allocations: 0 / 0.5988 GB, free: 392 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.001032/0.1855, allocations: 0.5404 MB / 0.5993 GB, free: 15.8 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1856, allocations: 12.03 kB / 0.5993 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.1856, allocations: 23.72 kB / 0.5994 GB, free: 15.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.186, allocations: 246.6 kB / 0.5996 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1861, allocations: 11.94 kB / 0.5996 GB, free: 15.47 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.1861, allocations: 12 kB / 0.5996 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.1864, allocations: 129.6 kB / 0.5997 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1864, allocations: 0 / 0.5997 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1865, allocations: 0 / 0.5997 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.1865, allocations: 7.984 kB / 0.5997 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000385/0.1869, allocations: 127.9 kB / 0.5999 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1881, allocations: 0.5316 MB / 0.6004 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.1886, allocations: 166.5 kB / 0.6005 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1886, allocations: 0 / 0.6005 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1886, allocations: 34.56 kB / 0.6006 GB, free: 14.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1886, allocations: 0 / 0.6006 GB, free: 14.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007586/0.1894, allocations: 281.4 kB / 0.6008 GB, free: 14.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1895, allocations: 51.41 kB / 0.6009 GB, free: 14.05 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1897, allocations: 230.6 kB / 0.6011 GB, free: 13.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1897, allocations: 33.7 kB / 0.6011 GB, free: 13.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1898, allocations: 135.9 kB / 0.6013 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1899, allocations: 35.45 kB / 0.6013 GB, free: 13.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.1899, allocations: 4 kB / 0.6013 GB, free: 13.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.19, allocations: 338.7 kB / 0.6016 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.1903, allocations: 107.9 kB / 0.6017 GB, free: 13.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.1906, allocations: 103.9 kB / 0.6018 GB, free: 13.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.1908, allocations: 103.9 kB / 0.6019 GB, free: 12.95 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1909, allocations: 4.375 kB / 0.6019 GB, free: 12.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009792/0.1918, allocations: 370 kB / 0.6023 GB, free: 12.58 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1919, allocations: 8 kB / 0.6023 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1919, allocations: 4 kB / 0.6023 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/0.1924, allocations: 116.7 kB / 0.6024 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.1927, allocations: 43.97 kB / 0.6025 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.1947, allocations: 1.744 MB / 0.6042 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.1949, allocations: 27.73 kB / 0.6042 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.195, allocations: 15.94 kB / 0.6042 GB, free: 10.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.1951, allocations: 135.7 kB / 0.6043 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.005e-05/0.1951, allocations: 20.17 kB / 0.6044 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.1952, allocations: 21.72 kB / 0.6044 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1952, allocations: 4 kB / 0.6044 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1952, allocations: 0 / 0.6044 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1952, allocations: 4 kB / 0.6044 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1955, allocations: 253.4 kB / 0.6046 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1955, allocations: 0 / 0.6046 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.1957, allocations: 39.97 kB / 0.6047 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1957, allocations: 4 kB / 0.6047 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1957, allocations: 3.984 kB / 0.6047 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1957, allocations: 0 / 0.6047 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1957, allocations: 0 / 0.6047 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.1962, allocations: 307.1 kB / 0.605 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.1963, allocations: 108.8 kB / 0.6051 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1964, allocations: 4 kB / 0.6051 GB, free: 9.512 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1966, allocations: 20.08 kB / 0.6051 GB, free: 9.492 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.1966, allocations: 15.86 kB / 0.6051 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.1966, allocations: 8 kB / 0.6051 GB, free: 9.469 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1968, allocations: 166 kB / 0.6053 GB, free: 9.305 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1968, allocations: 0 / 0.6053 GB, free: 9.305 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002979/0.1971, allocations: 59.92 kB / 0.6053 GB, free: 9.246 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.1972, allocations: 107.2 kB / 0.6054 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008551/0.1981, allocations: 362.6 kB / 0.6058 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1981, allocations: 0 / 0.6058 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.1984, allocations: 83.88 kB / 0.6059 GB, free: 8.684 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.1986, allocations: 28.48 kB / 0.6059 GB, free: 8.656 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.1994, allocations: 0.5056 MB / 0.6064 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1998, allocations: 0.736 MB / 0.6071 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.1999, allocations: 32.62 kB / 0.6071 GB, free: 7.332 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.2, allocations: 19.42 kB / 0.6071 GB, free: 7.312 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2, allocations: 4 kB / 0.6072 GB, free: 7.309 MB / 462.1 MB Notification: Performance of Templates: time 0.005592/0.2056, allocations: 2.349 MB / 0.6094 GB, free: 5.008 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: