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.1994/0.2015, allocations: 80.84 MB / 0.6706 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003669/0.2053, allocations: 2.137 MB / 0.6727 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004817/0.2101, allocations: 3.686 MB / 0.6763 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2103, allocations: 0 / 0.6763 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003559/0.2107, allocations: 63.48 kB / 0.6764 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.2112, allocations: 127.1 kB / 0.6765 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.2115, allocations: 127.7 kB / 0.6766 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.2119, allocations: 322.9 kB / 0.6769 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2121, allocations: 64.5 kB / 0.677 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002518/0.2124, allocations: 147.5 kB / 0.6771 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.2126, allocations: 147.4 kB / 0.6773 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.2126, allocations: 20 kB / 0.6773 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.2129, allocations: 99.86 kB / 0.6774 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.213, allocations: 55.75 kB / 0.6774 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.2131, allocations: 123.3 kB / 0.6776 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.2136, allocations: 314.9 kB / 0.6779 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.2136, allocations: 12 kB / 0.6779 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2136, allocations: 3.938 kB / 0.6779 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.224e-05/0.2137, allocations: 0 / 0.6779 GB, free: 13.14 MB / 0.5294 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.001332/0.215, allocations: 0.6191 MB / 0.6785 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.2151, allocations: 12.03 kB / 0.6785 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.2161, allocations: 172.4 kB / 0.6787 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.2169, allocations: 331.5 kB / 0.679 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.2169, allocations: 8 kB / 0.679 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.2169, allocations: 12 kB / 0.679 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.2176, allocations: 228.8 kB / 0.6792 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2177, allocations: 4 kB / 0.6792 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.2177, allocations: 11.88 kB / 0.6792 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2177, allocations: 0 / 0.6792 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.2187, allocations: 283.7 kB / 0.6795 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2201, allocations: 0.5822 MB / 0.6801 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005849/0.2207, allocations: 166.4 kB / 0.6802 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005312/0.2213, allocations: 164.7 kB / 0.6804 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.2213, allocations: 4 kB / 0.6804 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.2213, allocations: 38.5 kB / 0.6804 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.2214, allocations: 4 kB / 0.6804 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.001787/0.2231, allocations: 493.3 kB / 0.6809 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2232, allocations: 59.41 kB / 0.681 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.2236, allocations: 260.6 kB / 0.6812 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.2236, allocations: 29.7 kB / 0.6812 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.2238, allocations: 148 kB / 0.6814 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.2239, allocations: 51.34 kB / 0.6814 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.224, allocations: 37.69 kB / 0.6815 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.2242, allocations: 334.8 kB / 0.6818 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.2247, allocations: 147.9 kB / 0.6819 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005165/0.2252, allocations: 155.9 kB / 0.6821 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2263, allocations: 288.6 kB / 0.6823 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2263, allocations: 0 / 0.6823 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001172/0.2275, allocations: 375.8 kB / 0.6827 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.2275, allocations: 8 kB / 0.6827 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.2275, allocations: 3.938 kB / 0.6827 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.2276, allocations: 4 kB / 0.6827 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/0.2281, allocations: 71.84 kB / 0.6828 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.2281, allocations: 0 / 0.6828 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.2285, allocations: 47.73 kB / 0.6828 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.2285, allocations: 11.98 kB / 0.6828 GB, free: 7.832 MB / 0.5294 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.0001745/0.2287, allocations: 130.5 kB / 0.683 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.2287, allocations: 23.62 kB / 0.683 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.23, allocations: 403.1 kB / 0.6834 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.23, allocations: 0 / 0.6834 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2301, allocations: 0 / 0.6834 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2301, allocations: 3.984 kB / 0.6834 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.2305, allocations: 297.5 kB / 0.6837 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2305, allocations: 0 / 0.6837 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.2309, allocations: 63.92 kB / 0.6837 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.2309, allocations: 0 / 0.6837 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.2309, allocations: 15.92 kB / 0.6837 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2309, allocations: 3.938 kB / 0.6837 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.231, allocations: 0 / 0.6837 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.2321, allocations: 466.8 kB / 0.6842 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.2323, allocations: 116.8 kB / 0.6843 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.2323, allocations: 11.94 kB / 0.6843 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.2327, allocations: 39.95 kB / 0.6843 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.2328, allocations: 15.97 kB / 0.6844 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.2328, allocations: 4 kB / 0.6844 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001844/0.233, allocations: 191.1 kB / 0.6845 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.233, allocations: 0 / 0.6845 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003461/0.2334, allocations: 71.84 kB / 0.6846 GB, free: 5.914 MB / 0.5294 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.0002521/0.2336, allocations: 119.2 kB / 0.6847 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.2348, allocations: 338.5 kB / 0.685 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.2348, allocations: 0 / 0.685 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.2353, allocations: 171.8 kB / 0.6852 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.2358, allocations: 36.56 kB / 0.6852 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.237, allocations: 0.5029 MB / 0.6857 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.2374, allocations: 0.7435 MB / 0.6865 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002251/0.2376, allocations: 49.38 kB / 0.6865 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.2377, allocations: 31.41 kB / 0.6865 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.2378, allocations: 0 / 0.6865 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.007514/0.2453, allocations: 3.539 MB / 0.69 GB, free: 372 kB / 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)