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.1648/0.1666, allocations: 80.83 MB / 0.5897 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004021/0.1707, allocations: 2.209 MB / 0.5918 GB, free: 4.922 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.1753, allocations: 3.667 MB / 0.5954 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1754, allocations: 0 / 0.5954 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002954/0.1758, allocations: 51.67 kB / 0.5955 GB, free: 1.195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.1761, allocations: 103.3 kB / 0.5956 GB, free: 1.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002584/0.1764, allocations: 119.7 kB / 0.5957 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.1767, allocations: 306.8 kB / 0.596 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1768, allocations: 56.7 kB / 0.596 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.1771, allocations: 123.5 kB / 0.5961 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1772, allocations: 147.3 kB / 0.5963 GB, free: 360 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.46e-05/0.1773, allocations: 16 kB / 0.5963 GB, free: 344 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.1775, allocations: 79.94 kB / 0.5964 GB, free: 264 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.1775, allocations: 55.75 kB / 0.5964 GB, free: 208 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.1777, allocations: 115.2 kB / 0.5965 GB, free: 92 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.178, allocations: 298.9 kB / 0.5968 GB, free: 15.8 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.178, allocations: 0 / 0.5968 GB, free: 15.8 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.178, allocations: 0 / 0.5968 GB, free: 15.8 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.178, allocations: 0 / 0.5968 GB, free: 15.8 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.001212/0.1792, allocations: 0.6341 MB / 0.5974 GB, free: 15.12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1793, allocations: 12.02 kB / 0.5975 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009483/0.1802, allocations: 176.4 kB / 0.5976 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.181, allocations: 319.6 kB / 0.5979 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.181, allocations: 11.94 kB / 0.5979 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.181, allocations: 12 kB / 0.5979 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006386/0.1817, allocations: 229.4 kB / 0.5982 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1817, allocations: 0 / 0.5982 GB, free: 14.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.1817, allocations: 7.938 kB / 0.5982 GB, free: 14.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1817, allocations: 8 kB / 0.5982 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.1828, allocations: 279.7 kB / 0.5984 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.1841, allocations: 0.5821 MB / 0.599 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.1847, allocations: 178.4 kB / 0.5992 GB, free: 13.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/0.1852, allocations: 156.7 kB / 0.5993 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1853, allocations: 3.984 kB / 0.5993 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1853, allocations: 42.48 kB / 0.5994 GB, free: 13.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1853, allocations: 4 kB / 0.5994 GB, free: 13.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=13): time 0.001624/0.1869, allocations: 489.4 kB / 0.5999 GB, free: 12.52 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.187, allocations: 51.41 kB / 0.5999 GB, free: 12.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1873, allocations: 264.6 kB / 0.6002 GB, free: 12.2 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.1873, allocations: 25.7 kB / 0.6002 GB, free: 12.16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1874, allocations: 156 kB / 0.6003 GB, free: 12.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.1875, allocations: 43.36 kB / 0.6004 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-05/0.1876, allocations: 41.69 kB / 0.6004 GB, free: 11.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1877, allocations: 334.8 kB / 0.6007 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.1882, allocations: 147.9 kB / 0.6009 GB, free: 11.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000484/0.1887, allocations: 147.9 kB / 0.601 GB, free: 11.29 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009151/0.1896, allocations: 301.9 kB / 0.6013 GB, free: 11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1896, allocations: 0 / 0.6013 GB, free: 11 MB / 462.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001067/0.1907, allocations: 371.2 kB / 0.6017 GB, free: 10.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1907, allocations: 4 kB / 0.6017 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1908, allocations: 0 / 0.6017 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1908, allocations: 7.938 kB / 0.6017 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.1912, allocations: 75.84 kB / 0.6017 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1913, allocations: 4 kB / 0.6017 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.1916, allocations: 39.88 kB / 0.6018 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.1916, allocations: 7.984 kB / 0.6018 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 (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.0001512/0.1918, allocations: 130.7 kB / 0.6019 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.1918, allocations: 31.61 kB / 0.6019 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.193, allocations: 395.2 kB / 0.6023 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.193, allocations: 0 / 0.6023 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.193, allocations: 0 / 0.6023 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1931, allocations: 4 kB / 0.6023 GB, free: 9.922 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000429/0.1935, allocations: 317.2 kB / 0.6026 GB, free: 9.562 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1935, allocations: 3.984 kB / 0.6026 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/0.194, allocations: 59.92 kB / 0.6027 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1941, allocations: 0 / 0.6027 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.1941, allocations: 19.92 kB / 0.6027 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1941, allocations: 3.938 kB / 0.6027 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1941, allocations: 4 kB / 0.6027 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.1953, allocations: 458 kB / 0.6031 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1954, allocations: 116.8 kB / 0.6033 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.1955, allocations: 11.94 kB / 0.6033 GB, free: 8.867 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.1958, allocations: 39.94 kB / 0.6033 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.87e-05/0.1959, allocations: 11.98 kB / 0.6033 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.1959, allocations: 11.98 kB / 0.6033 GB, free: 8.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.1961, allocations: 187.1 kB / 0.6035 GB, free: 8.625 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1961, allocations: 0 / 0.6035 GB, free: 8.625 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.1965, allocations: 67.83 kB / 0.6036 GB, free: 8.559 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.0002227/0.1967, allocations: 119.2 kB / 0.6037 GB, free: 8.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.1978, allocations: 331.7 kB / 0.604 GB, free: 8.109 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1978, allocations: 0 / 0.604 GB, free: 8.109 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.1984, allocations: 175.7 kB / 0.6042 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000466/0.1989, allocations: 29.2 kB / 0.6042 GB, free: 7.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.2, allocations: 0.571 MB / 0.6048 GB, free: 7.312 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2003, allocations: 0.7477 MB / 0.6055 GB, free: 6.539 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002617/0.2006, allocations: 49.36 kB / 0.6055 GB, free: 6.488 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.2007, allocations: 23.42 kB / 0.6056 GB, free: 6.469 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2007, allocations: 0 / 0.6056 GB, free: 6.469 MB / 462.1 MB Notification: Performance of Templates: time 0.006765/0.2075, allocations: 3.151 MB / 0.6086 GB, free: 3.375 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)