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.1854/0.1876, allocations: 80.83 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003526/0.1911, allocations: 2.147 MB / 0.6727 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004797/0.196, allocations: 3.689 MB / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1961, allocations: 4 kB / 0.6763 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1965, allocations: 59.55 kB / 0.6764 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.1969, allocations: 119.1 kB / 0.6765 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1972, allocations: 135.6 kB / 0.6766 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.1976, allocations: 326.8 kB / 0.6769 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1977, allocations: 68.48 kB / 0.677 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.198, allocations: 131.5 kB / 0.6771 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.1981, allocations: 155.4 kB / 0.6773 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.602e-05/0.1982, allocations: 20 kB / 0.6773 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1984, allocations: 87.88 kB / 0.6774 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.1985, allocations: 63.75 kB / 0.6774 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1986, allocations: 123.3 kB / 0.6776 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003462/0.1989, allocations: 314.8 kB / 0.6779 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.199, allocations: 3.984 kB / 0.6779 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.573e-06/0.199, allocations: 0 / 0.6779 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.199, allocations: 0 / 0.6779 GB, free: 10.54 MB / 0.5137 GB 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.001205/0.2002, allocations: 0.6269 MB / 0.6785 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.2002, allocations: 8.031 kB / 0.6785 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009473/0.2012, allocations: 180.3 kB / 0.6787 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/0.2019, allocations: 323.5 kB / 0.679 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.2019, allocations: 8 kB / 0.679 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.202, allocations: 8 kB / 0.679 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.2027, allocations: 225.4 kB / 0.6792 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2027, allocations: 4 kB / 0.6792 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.2027, allocations: 7.938 kB / 0.6792 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2027, allocations: 4 kB / 0.6792 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.2037, allocations: 275.7 kB / 0.6795 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.205, allocations: 0.5821 MB / 0.68 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005641/0.2056, allocations: 178.4 kB / 0.6802 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.2061, allocations: 156.7 kB / 0.6804 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.2062, allocations: 7.984 kB / 0.6804 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2062, allocations: 34.56 kB / 0.6804 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.2062, allocations: 0 / 0.6804 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.001693/0.2079, allocations: 489.4 kB / 0.6809 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.208, allocations: 59.39 kB / 0.6809 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.2082, allocations: 268.4 kB / 0.6812 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.2082, allocations: 25.7 kB / 0.6812 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.2084, allocations: 156 kB / 0.6814 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.2084, allocations: 39.36 kB / 0.6814 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.2085, allocations: 45.62 kB / 0.6814 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.2087, allocations: 346.7 kB / 0.6818 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/0.2092, allocations: 143.9 kB / 0.6819 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.2097, allocations: 143.9 kB / 0.682 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2108, allocations: 298.5 kB / 0.6823 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2108, allocations: 0 / 0.6823 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001175/0.212, allocations: 371.2 kB / 0.6827 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.212, allocations: 7.984 kB / 0.6827 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.212, allocations: 3.938 kB / 0.6827 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.212, allocations: 0 / 0.6827 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.2125, allocations: 75.86 kB / 0.6828 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2125, allocations: 3.984 kB / 0.6828 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.2128, allocations: 47.78 kB / 0.6828 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.2129, allocations: 4 kB / 0.6828 GB, free: 5.242 MB / 0.5137 GB 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.0001804/0.2131, allocations: 133.8 kB / 0.6829 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.2131, allocations: 27.72 kB / 0.683 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2144, allocations: 403.1 kB / 0.6834 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2144, allocations: 4 kB / 0.6834 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2144, allocations: 0 / 0.6834 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2144, allocations: 0 / 0.6834 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.2148, allocations: 317.4 kB / 0.6837 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2148, allocations: 0 / 0.6837 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.2152, allocations: 59.92 kB / 0.6837 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.2152, allocations: 0 / 0.6837 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.2152, allocations: 11.92 kB / 0.6837 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2152, allocations: 0 / 0.6837 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2152, allocations: 7.938 kB / 0.6837 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.2165, allocations: 465.9 kB / 0.6842 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.2167, allocations: 120.8 kB / 0.6843 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.2167, allocations: 3.938 kB / 0.6843 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.217, allocations: 39.94 kB / 0.6843 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.2171, allocations: 19.98 kB / 0.6844 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.2172, allocations: 7.984 kB / 0.6844 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001809/0.2173, allocations: 187.1 kB / 0.6845 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2173, allocations: 0 / 0.6845 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003502/0.2177, allocations: 59.94 kB / 0.6846 GB, free: 3.316 MB / 0.5137 GB 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.0003267/0.218, allocations: 127.2 kB / 0.6847 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.2192, allocations: 331.6 kB / 0.685 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2192, allocations: 0 / 0.685 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.2198, allocations: 171.8 kB / 0.6852 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.2203, allocations: 41.48 kB / 0.6852 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.2215, allocations: 0.4951 MB / 0.6857 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.2218, allocations: 0.7474 MB / 0.6865 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002071/0.2221, allocations: 57.36 kB / 0.6865 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2222, allocations: 23.42 kB / 0.6865 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2222, allocations: 0 / 0.6865 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of Templates: time 0.007933/0.2301, allocations: 3.641 MB / 0.6901 GB, free: 13.66 MB / 0.5294 GB 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)