Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [/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.2147/0.2169, allocations: 80.84 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003401/0.2204, allocations: 1.949 MB / 0.6725 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004324/0.2247, allocations: 3.475 MB / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2249, allocations: 0 / 0.6759 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.2253, allocations: 59.62 kB / 0.676 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.2257, allocations: 107.3 kB / 0.6761 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2261, allocations: 83.81 kB / 0.6762 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003817/0.2265, allocations: 287.1 kB / 0.6764 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.2266, allocations: 29.67 kB / 0.6765 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.2268, allocations: 119.5 kB / 0.6766 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.2271, allocations: 119.5 kB / 0.6767 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2271, allocations: 20 kB / 0.6767 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.2272, allocations: 43.98 kB / 0.6768 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.287e-05/0.2273, allocations: 55.75 kB / 0.6768 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.2274, allocations: 99.52 kB / 0.6769 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.2277, allocations: 231.2 kB / 0.6771 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2278, allocations: 3.938 kB / 0.6771 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2278, allocations: 3.938 kB / 0.6771 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2278, allocations: 0 / 0.6771 GB, free: 11.35 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00103/0.2288, allocations: 0.549 MB / 0.6777 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2289, allocations: 8.031 kB / 0.6777 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.2289, allocations: 24.66 kB / 0.6777 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.2293, allocations: 263.3 kB / 0.6779 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.2293, allocations: 8 kB / 0.678 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.978e-05/0.2294, allocations: 12 kB / 0.678 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.2298, allocations: 113.6 kB / 0.6781 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.2298, allocations: 0 / 0.6781 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2299, allocations: 4 kB / 0.6781 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.2299, allocations: 0 / 0.6781 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.2305, allocations: 123.8 kB / 0.6782 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.2318, allocations: 0.5081 MB / 0.6787 GB, free: 9.598 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.2323, allocations: 154.5 kB / 0.6788 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/0.2326, allocations: 76.98 kB / 0.6789 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2326, allocations: 3.938 kB / 0.6789 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2326, allocations: 34.56 kB / 0.6789 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.2326, allocations: 0 / 0.6789 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007902/0.2334, allocations: 249.2 kB / 0.6792 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.2335, allocations: 59.39 kB / 0.6792 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2337, allocations: 234.6 kB / 0.6795 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.2338, allocations: 25.7 kB / 0.6795 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.2338, allocations: 136 kB / 0.6796 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.2339, allocations: 31.47 kB / 0.6797 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.234, allocations: 45.69 kB / 0.6797 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2341, allocations: 326.8 kB / 0.68 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.2344, allocations: 99.92 kB / 0.6801 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.2346, allocations: 95.92 kB / 0.6802 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.2351, allocations: 184.1 kB / 0.6804 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2351, allocations: 4.312 kB / 0.6804 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009871/0.2361, allocations: 350 kB / 0.6807 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2361, allocations: 4 kB / 0.6807 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2362, allocations: 3.984 kB / 0.6807 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.2368, allocations: 112.7 kB / 0.6808 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.237, allocations: 43.97 kB / 0.6809 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.2395, allocations: 1.853 MB / 0.6827 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.2397, allocations: 31.89 kB / 0.6827 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.2398, allocations: 4 kB / 0.6827 GB, free: 5.258 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.2399, allocations: 138.4 kB / 0.6828 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.24, allocations: 19.75 kB / 0.6829 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.24, allocations: 25.7 kB / 0.6829 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.24, allocations: 0 / 0.6829 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.2401, allocations: 0 / 0.6829 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2401, allocations: 4 kB / 0.6829 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/0.2403, allocations: 253.4 kB / 0.6831 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2404, allocations: 3.938 kB / 0.6831 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.2406, allocations: 35.95 kB / 0.6832 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2406, allocations: 0 / 0.6832 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.2406, allocations: 4 kB / 0.6832 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2406, allocations: 4 kB / 0.6832 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2406, allocations: 0 / 0.6832 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.2412, allocations: 283.2 kB / 0.6834 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.2413, allocations: 112.8 kB / 0.6836 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.2413, allocations: 0 / 0.6836 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.2415, allocations: 12.08 kB / 0.6836 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.2415, allocations: 19.92 kB / 0.6836 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.2416, allocations: 7.984 kB / 0.6836 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001455/0.2417, allocations: 166 kB / 0.6837 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2417, allocations: 0 / 0.6837 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000316/0.242, allocations: 52 kB / 0.6838 GB, free: 4.047 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 (10): * Single equations (assignments): 10 * 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.0001687/0.2422, allocations: 103.2 kB / 0.6839 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009102/0.2431, allocations: 362.3 kB / 0.6842 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2431, allocations: 0 / 0.6842 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.2434, allocations: 79.94 kB / 0.6843 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.2437, allocations: 33.42 kB / 0.6843 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008179/0.2446, allocations: 434.5 kB / 0.6848 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.2449, allocations: 0.7318 MB / 0.6855 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.245, allocations: 40.39 kB / 0.6855 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.548e-05/0.2451, allocations: 19.42 kB / 0.6855 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2451, allocations: 0 / 0.6855 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of Templates: time 0.006072/0.2512, allocations: 2.622 MB / 0.6881 GB, free: 15.59 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)