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.1576/0.1598, allocations: 80.83 MB / 0.5899 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002999/0.1628, allocations: 2.014 MB / 0.5918 GB, free: 4.949 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003508/0.1663, allocations: 3.441 MB / 0.5952 GB, free: 1.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.1664, allocations: 4 kB / 0.5952 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1667, allocations: 43.81 kB / 0.5952 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.167, allocations: 111.3 kB / 0.5954 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002343/0.1672, allocations: 67.84 kB / 0.5954 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.1675, allocations: 295.1 kB / 0.5957 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.1676, allocations: 29.67 kB / 0.5957 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1678, allocations: 127.5 kB / 0.5958 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.168, allocations: 119.6 kB / 0.596 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.168, allocations: 20 kB / 0.596 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.1681, allocations: 47.97 kB / 0.596 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.647e-05/0.1682, allocations: 59.81 kB / 0.5961 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.314e-05/0.1683, allocations: 107.4 kB / 0.5962 GB, free: 500 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1686, allocations: 227.2 kB / 0.5964 GB, free: 272 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1686, allocations: 0 / 0.5964 GB, free: 272 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1686, allocations: 3.938 kB / 0.5964 GB, free: 268 kB / 446.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1686, allocations: 4 kB / 0.5964 GB, free: 264 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.001034/0.1696, allocations: 0.5525 MB / 0.5969 GB, free: 15.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1697, allocations: 8.031 kB / 0.597 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.1697, allocations: 28.66 kB / 0.597 GB, free: 15.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.1701, allocations: 263 kB / 0.5972 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.1701, allocations: 7.938 kB / 0.5972 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.1701, allocations: 8 kB / 0.5972 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1704, allocations: 121.5 kB / 0.5974 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.1704, allocations: 0 / 0.5974 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1705, allocations: 4 kB / 0.5974 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1705, allocations: 4 kB / 0.5974 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003698/0.1708, allocations: 107.9 kB / 0.5975 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.172, allocations: 0.5237 MB / 0.598 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.1725, allocations: 158.5 kB / 0.5981 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.1727, allocations: 72.8 kB / 0.5982 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.1728, allocations: 7.984 kB / 0.5982 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1728, allocations: 34.56 kB / 0.5982 GB, free: 14.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1728, allocations: 0 / 0.5982 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007624/0.1736, allocations: 257.3 kB / 0.5985 GB, free: 13.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.1736, allocations: 51.41 kB / 0.5985 GB, free: 13.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1738, allocations: 242.6 kB / 0.5988 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1739, allocations: 25.7 kB / 0.5988 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.174, allocations: 124 kB / 0.5989 GB, free: 13.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.174, allocations: 39.55 kB / 0.599 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.1741, allocations: 49.53 kB / 0.599 GB, free: 13.39 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1742, allocations: 330.8 kB / 0.5993 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.1745, allocations: 95.92 kB / 0.5994 GB, free: 12.97 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.1747, allocations: 95.92 kB / 0.5995 GB, free: 12.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004559/0.1752, allocations: 180.6 kB / 0.5997 GB, free: 12.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1752, allocations: 0 / 0.5997 GB, free: 12.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009576/0.1762, allocations: 348.6 kB / 0.6 GB, free: 12.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1762, allocations: 4 kB / 0.6 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1762, allocations: 4 kB / 0.6 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005563/0.1768, allocations: 112.7 kB / 0.6001 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.177, allocations: 47.89 kB / 0.6002 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.179, allocations: 1.851 MB / 0.602 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.1792, allocations: 31.88 kB / 0.602 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.1793, allocations: 4 kB / 0.602 GB, free: 10.15 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.0001177/0.1794, allocations: 130.9 kB / 0.6021 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1794, allocations: 23.66 kB / 0.6022 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.1795, allocations: 21.91 kB / 0.6022 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1795, allocations: 4 kB / 0.6022 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1795, allocations: 7.984 kB / 0.6022 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1795, allocations: 0 / 0.6022 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.1797, allocations: 257.3 kB / 0.6024 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1798, allocations: 0 / 0.6024 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.18, allocations: 39.91 kB / 0.6025 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.18, allocations: 0 / 0.6025 GB, free: 9.621 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.18, allocations: 7.984 kB / 0.6025 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.18, allocations: 0 / 0.6025 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.18, allocations: 0 / 0.6025 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004993/0.1805, allocations: 287.1 kB / 0.6028 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/0.1806, allocations: 116.8 kB / 0.6029 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1807, allocations: 0 / 0.6029 GB, free: 9.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.1808, allocations: 11.98 kB / 0.6029 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.1809, allocations: 11.98 kB / 0.6029 GB, free: 9.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.1809, allocations: 4 kB / 0.6029 GB, free: 9.156 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.181, allocations: 174 kB / 0.6031 GB, free: 8.984 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.181, allocations: 0 / 0.6031 GB, free: 8.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003307/0.1814, allocations: 52 kB / 0.6031 GB, free: 8.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.0001491/0.1815, allocations: 107.5 kB / 0.6032 GB, free: 8.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008584/0.1824, allocations: 362.3 kB / 0.6036 GB, free: 8.453 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1824, allocations: 0 / 0.6036 GB, free: 8.453 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.1826, allocations: 75.88 kB / 0.6036 GB, free: 8.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.183, allocations: 31.16 kB / 0.6037 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.1837, allocations: 487.5 kB / 0.6041 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.184, allocations: 0.7357 MB / 0.6048 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001546/0.1842, allocations: 44.59 kB / 0.6049 GB, free: 7.047 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.1843, allocations: 15.42 kB / 0.6049 GB, free: 7.031 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1843, allocations: 0 / 0.6049 GB, free: 7.031 MB / 462.1 MB Notification: Performance of Templates: time 0.00533/0.1896, allocations: 2.563 MB / 0.6074 GB, free: 4.523 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)