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.159/0.1597, allocations: 82.21 MB / 0.5941 GB, free: 5.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002979/0.1627, allocations: 1.666 MB / 0.5957 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004652/0.1674, allocations: 3.406 MB / 0.5991 GB, free: 484 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.1677, allocations: 4 kB / 0.5991 GB, free: 480 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.168, allocations: 35.81 kB / 0.5991 GB, free: 444 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.1684, allocations: 111.3 kB / 0.5992 GB, free: 332 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.1687, allocations: 67.91 kB / 0.5993 GB, free: 264 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.1692, allocations: 323 kB / 0.5996 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.1693, allocations: 41.56 kB / 0.5996 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002797/0.1696, allocations: 99.61 kB / 0.5997 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.1699, allocations: 119.5 kB / 0.5998 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.773e-05/0.1699, allocations: 8 kB / 0.5998 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1701, allocations: 31.92 kB / 0.5999 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.518e-05/0.1701, allocations: 51.81 kB / 0.5999 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.1703, allocations: 117.2 kB / 0.6 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.1706, allocations: 235.1 kB / 0.6003 GB, free: 15.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1706, allocations: 0 / 0.6003 GB, free: 15.25 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1706, allocations: 0 / 0.6003 GB, free: 15.25 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.1706, allocations: 3.938 kB / 0.6003 GB, free: 15.24 MB / 462.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.001059/0.1717, allocations: 0.5298 MB / 0.6008 GB, free: 14.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1717, allocations: 8.031 kB / 0.6008 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.1718, allocations: 24.66 kB / 0.6008 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.1722, allocations: 267 kB / 0.6011 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1722, allocations: 8 kB / 0.6011 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1722, allocations: 4 kB / 0.6011 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.1726, allocations: 137.3 kB / 0.6012 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1726, allocations: 0 / 0.6012 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1726, allocations: 0 / 0.6012 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.1726, allocations: 4 kB / 0.6012 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/0.1731, allocations: 131.9 kB / 0.6013 GB, free: 14.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1743, allocations: 0.5238 MB / 0.6018 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.1748, allocations: 174.4 kB / 0.602 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.175, allocations: 80.8 kB / 0.6021 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1751, allocations: 3.984 kB / 0.6021 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.1751, allocations: 34.56 kB / 0.6021 GB, free: 13.17 MB / 462.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1751, allocations: 4 kB / 0.6021 GB, free: 13.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007736/0.1759, allocations: 281.3 kB / 0.6024 GB, free: 12.88 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1759, allocations: 51.41 kB / 0.6024 GB, free: 12.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.1762, allocations: 242.6 kB / 0.6027 GB, free: 12.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1762, allocations: 25.7 kB / 0.6027 GB, free: 12.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.208e-05/0.1763, allocations: 132 kB / 0.6028 GB, free: 12.41 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1763, allocations: 35.45 kB / 0.6029 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1764, allocations: 26.08 kB / 0.6029 GB, free: 12.34 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1765, allocations: 326.8 kB / 0.6032 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.1768, allocations: 107.9 kB / 0.6033 GB, free: 11.91 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1771, allocations: 103.9 kB / 0.6034 GB, free: 11.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.1776, allocations: 206.7 kB / 0.6036 GB, free: 11.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1776, allocations: 3.938 kB / 0.6036 GB, free: 11.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009885/0.1786, allocations: 366 kB / 0.6039 GB, free: 11.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1786, allocations: 8 kB / 0.604 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1786, allocations: 0 / 0.604 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.1792, allocations: 120.7 kB / 0.6041 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.1794, allocations: 47.91 kB / 0.6041 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.1814, allocations: 1.706 MB / 0.6058 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.1816, allocations: 23.83 kB / 0.6058 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.1817, allocations: 11.98 kB / 0.6058 GB, free: 9.184 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.000125/0.1818, allocations: 126.9 kB / 0.6059 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.1818, allocations: 27.72 kB / 0.606 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/0.1819, allocations: 29.64 kB / 0.606 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1819, allocations: 0 / 0.606 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.1819, allocations: 0 / 0.606 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1819, allocations: 0 / 0.606 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.1822, allocations: 257.6 kB / 0.6062 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1822, allocations: 4 kB / 0.6062 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001914/0.1824, allocations: 35.97 kB / 0.6063 GB, free: 8.656 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1824, allocations: 4 kB / 0.6063 GB, free: 8.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1825, allocations: 7.938 kB / 0.6063 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1825, allocations: 4 kB / 0.6063 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1825, allocations: 0 / 0.6063 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005474/0.183, allocations: 299.1 kB / 0.6066 GB, free: 8.332 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.1831, allocations: 116.8 kB / 0.6067 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1832, allocations: 3.938 kB / 0.6067 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1833, allocations: 23.97 kB / 0.6067 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1834, allocations: 15.92 kB / 0.6067 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.1834, allocations: 0 / 0.6067 GB, free: 8.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1836, allocations: 170 kB / 0.6069 GB, free: 7.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1836, allocations: 0 / 0.6069 GB, free: 7.988 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1839, allocations: 56.12 kB / 0.6069 GB, free: 7.934 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.0001629/0.1841, allocations: 107.2 kB / 0.607 GB, free: 7.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009115/0.185, allocations: 369.3 kB / 0.6074 GB, free: 7.449 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.185, allocations: 0 / 0.6074 GB, free: 7.449 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.1852, allocations: 87.88 kB / 0.6075 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1856, allocations: 28.38 kB / 0.6075 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.1864, allocations: 0.5062 MB / 0.608 GB, free: 6.809 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1868, allocations: 0.7399 MB / 0.6087 GB, free: 6.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.1869, allocations: 36.61 kB / 0.6088 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.187, allocations: 19.42 kB / 0.6088 GB, free: 5.988 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.187, allocations: 0 / 0.6088 GB, free: 5.988 MB / 462.1 MB Notification: Performance of Templates: time 0.005417/0.1924, allocations: 2.407 MB / 0.6111 GB, free: 3.629 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: