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.197/0.199, allocations: 80.82 MB / 0.6706 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.005149/0.2042, allocations: 2.152 MB / 0.6727 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005942/0.2102, allocations: 3.682 MB / 0.6763 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.2104, allocations: 0 / 0.6763 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003793/0.2108, allocations: 63.5 kB / 0.6764 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.2113, allocations: 119.2 kB / 0.6765 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.2118, allocations: 131.6 kB / 0.6766 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.2123, allocations: 326.8 kB / 0.6769 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.2125, allocations: 72.48 kB / 0.677 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.2128, allocations: 131.5 kB / 0.6771 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.213, allocations: 151.3 kB / 0.6773 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.2131, allocations: 24 kB / 0.6773 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.2133, allocations: 91.88 kB / 0.6774 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.4e-05/0.2134, allocations: 59.75 kB / 0.6774 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.2135, allocations: 123.3 kB / 0.6776 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.2139, allocations: 314.9 kB / 0.6779 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2139, allocations: 0 / 0.6779 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.669e-06/0.214, allocations: 4 kB / 0.6779 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.214, allocations: 3.938 kB / 0.6779 GB, free: 10.38 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.001388/0.2154, allocations: 0.623 MB / 0.6785 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2154, allocations: 12.03 kB / 0.6785 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2165, allocations: 184.3 kB / 0.6787 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/0.2173, allocations: 319.5 kB / 0.679 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2173, allocations: 8 kB / 0.679 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.2173, allocations: 15.94 kB / 0.679 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.218, allocations: 224.2 kB / 0.6792 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2181, allocations: 0 / 0.6792 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.2181, allocations: 15.94 kB / 0.6792 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.2181, allocations: 0 / 0.6792 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.2191, allocations: 283.7 kB / 0.6795 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.2205, allocations: 0.5782 MB / 0.6801 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/0.2211, allocations: 174.4 kB / 0.6802 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005228/0.2216, allocations: 156.7 kB / 0.6804 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.2216, allocations: 0 / 0.6804 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.2217, allocations: 38.56 kB / 0.6804 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.133e-06/0.2217, allocations: 0 / 0.6804 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.001747/0.2234, allocations: 497.3 kB / 0.6809 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.2235, allocations: 51.41 kB / 0.6809 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.2238, allocations: 268.5 kB / 0.6812 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.2238, allocations: 33.64 kB / 0.6812 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.2239, allocations: 148 kB / 0.6814 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.224, allocations: 51.34 kB / 0.6814 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.951e-05/0.2241, allocations: 41.69 kB / 0.6814 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2242, allocations: 334.8 kB / 0.6818 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005309/0.2247, allocations: 143.9 kB / 0.6819 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.2253, allocations: 152.8 kB / 0.682 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.2263, allocations: 291.4 kB / 0.6823 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2263, allocations: 3.938 kB / 0.6823 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001263/0.2276, allocations: 373 kB / 0.6827 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.2276, allocations: 4 kB / 0.6827 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2277, allocations: 7.938 kB / 0.6827 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.2277, allocations: 0 / 0.6827 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.2282, allocations: 71.91 kB / 0.6828 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2282, allocations: 7.984 kB / 0.6828 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.2286, allocations: 39.8 kB / 0.6828 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.2286, allocations: 11.98 kB / 0.6828 GB, free: 5.078 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.0001724/0.2288, allocations: 133.8 kB / 0.683 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.2289, allocations: 19.72 kB / 0.683 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.2302, allocations: 407.2 kB / 0.6834 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2302, allocations: 3.984 kB / 0.6834 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.2302, allocations: 0 / 0.6834 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2302, allocations: 3.938 kB / 0.6834 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.2306, allocations: 305.4 kB / 0.6837 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2306, allocations: 0 / 0.6837 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.2311, allocations: 67.91 kB / 0.6837 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2311, allocations: 0 / 0.6837 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.2311, allocations: 15.88 kB / 0.6837 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.2311, allocations: 4 kB / 0.6837 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.2311, allocations: 3.984 kB / 0.6837 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.2325, allocations: 462.8 kB / 0.6842 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.2326, allocations: 124.7 kB / 0.6843 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.2326, allocations: 7.938 kB / 0.6843 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003558/0.233, allocations: 35.95 kB / 0.6843 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.2331, allocations: 15.97 kB / 0.6844 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2331, allocations: 7.984 kB / 0.6844 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001648/0.2333, allocations: 191.1 kB / 0.6846 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2333, allocations: 0 / 0.6846 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003653/0.2337, allocations: 63.94 kB / 0.6846 GB, free: 3.145 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.0002486/0.2339, allocations: 115.2 kB / 0.6847 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.2351, allocations: 342.6 kB / 0.685 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2351, allocations: 0 / 0.685 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.2357, allocations: 171.8 kB / 0.6852 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.2361, allocations: 39.38 kB / 0.6853 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.2373, allocations: 0.499 MB / 0.6857 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003851/0.2377, allocations: 0.7513 MB / 0.6865 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002107/0.2379, allocations: 45.38 kB / 0.6865 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.238, allocations: 31.41 kB / 0.6865 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.2381, allocations: 0 / 0.6865 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of Templates: time 0.008196/0.2463, allocations: 3.542 MB / 0.69 GB, free: 13.58 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)