Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [/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.1538/0.1559, allocations: 80.83 MB / 0.5899 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003449/0.1594, allocations: 2.2 MB / 0.592 GB, free: 4.762 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003986/0.1634, allocations: 3.659 MB / 0.5956 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1635, allocations: 0 / 0.5956 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.1639, allocations: 47.67 kB / 0.5956 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.1642, allocations: 115.3 kB / 0.5957 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002954/0.1645, allocations: 115.8 kB / 0.5959 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003603/0.1649, allocations: 322.8 kB / 0.5962 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1651, allocations: 60.69 kB / 0.5962 GB, free: 452 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.1653, allocations: 139.5 kB / 0.5964 GB, free: 312 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.1655, allocations: 147.4 kB / 0.5965 GB, free: 164 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.1655, allocations: 20 kB / 0.5965 GB, free: 144 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.1658, allocations: 95.88 kB / 0.5966 GB, free: 48 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.359e-05/0.1659, allocations: 63.73 kB / 0.5967 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.166, allocations: 115.3 kB / 0.5968 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1664, allocations: 314.8 kB / 0.5971 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1664, allocations: 4 kB / 0.5971 GB, free: 15.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1664, allocations: 0 / 0.5971 GB, free: 15.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.1664, allocations: 4 kB / 0.5971 GB, free: 15.55 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001272/0.1677, allocations: 0.6263 MB / 0.5977 GB, free: 14.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1677, allocations: 16.03 kB / 0.5977 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.1687, allocations: 168.4 kB / 0.5979 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.1694, allocations: 327.6 kB / 0.5982 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.1695, allocations: 8 kB / 0.5982 GB, free: 14.34 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.1695, allocations: 12 kB / 0.5982 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006399/0.1701, allocations: 227.8 kB / 0.5984 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1702, allocations: 0 / 0.5984 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.1702, allocations: 7.938 kB / 0.5984 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1702, allocations: 0 / 0.5984 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009178/0.1711, allocations: 287.7 kB / 0.5987 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1725, allocations: 0.5977 MB / 0.5993 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.173, allocations: 170.4 kB / 0.5995 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.1735, allocations: 152.7 kB / 0.5996 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.1735, allocations: 4 kB / 0.5996 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1735, allocations: 34.56 kB / 0.5996 GB, free: 12.79 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1736, allocations: 0 / 0.5996 GB, free: 12.79 MB / 462.1 MB Notification: Performance of matching and sorting (n=13): time 0.001604/0.1752, allocations: 496.6 kB / 0.6001 GB, free: 12.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.1752, allocations: 59.41 kB / 0.6002 GB, free: 12.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1755, allocations: 260.6 kB / 0.6004 GB, free: 11.96 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.1755, allocations: 33.64 kB / 0.6004 GB, free: 11.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1756, allocations: 155.9 kB / 0.6006 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1757, allocations: 39.36 kB / 0.6006 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.1758, allocations: 41.69 kB / 0.6007 GB, free: 11.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1759, allocations: 334.8 kB / 0.601 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005056/0.1764, allocations: 151.9 kB / 0.6011 GB, free: 11.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.1769, allocations: 147.9 kB / 0.6013 GB, free: 11.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/0.1778, allocations: 306.6 kB / 0.6016 GB, free: 10.75 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1779, allocations: 0 / 0.6016 GB, free: 10.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001078/0.1789, allocations: 369 kB / 0.6019 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.179, allocations: 5.719 kB / 0.6019 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.179, allocations: 4 kB / 0.6019 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.179, allocations: 3.938 kB / 0.6019 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.1795, allocations: 67.91 kB / 0.602 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1795, allocations: 3.938 kB / 0.602 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003271/0.1798, allocations: 47.89 kB / 0.602 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.1799, allocations: 11.98 kB / 0.6021 GB, free: 10.25 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 (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001401/0.18, allocations: 126.7 kB / 0.6022 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.1801, allocations: 27.62 kB / 0.6022 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.1813, allocations: 397.9 kB / 0.6026 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1813, allocations: 7.984 kB / 0.6026 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1813, allocations: 0 / 0.6026 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1813, allocations: 0 / 0.6026 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.1817, allocations: 313.2 kB / 0.6029 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1817, allocations: 0 / 0.6029 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.1821, allocations: 63.91 kB / 0.603 GB, free: 9.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.1822, allocations: 8 kB / 0.603 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1822, allocations: 3.938 kB / 0.603 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1822, allocations: 0 / 0.603 GB, free: 9.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1822, allocations: 3.984 kB / 0.603 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1833, allocations: 458.9 kB / 0.6034 GB, free: 8.781 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1834, allocations: 120.8 kB / 0.6035 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/0.1835, allocations: 11.94 kB / 0.6035 GB, free: 8.633 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.1838, allocations: 31.95 kB / 0.6036 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.1839, allocations: 19.97 kB / 0.6036 GB, free: 8.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.184, allocations: 11.98 kB / 0.6036 GB, free: 8.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1841, allocations: 183.1 kB / 0.6038 GB, free: 8.395 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1841, allocations: 0 / 0.6038 GB, free: 8.395 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.1845, allocations: 63.84 kB / 0.6038 GB, free: 8.332 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 (15): * Single equations (assignments): 15 * 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.000199/0.1847, allocations: 119.2 kB / 0.6039 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1858, allocations: 343.6 kB / 0.6043 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1858, allocations: 0 / 0.6043 GB, free: 7.871 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.1863, allocations: 183.7 kB / 0.6044 GB, free: 7.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.1868, allocations: 28.62 kB / 0.6045 GB, free: 7.664 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.1879, allocations: 0.5686 MB / 0.605 GB, free: 7.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1882, allocations: 0.7474 MB / 0.6058 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002697/0.1885, allocations: 53.38 kB / 0.6058 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1886, allocations: 31.41 kB / 0.6058 GB, free: 6.215 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1886, allocations: 0 / 0.6058 GB, free: 6.215 MB / 462.1 MB Notification: Performance of Templates: time 0.006467/0.1951, allocations: 3.259 MB / 0.609 GB, free: 3.016 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)