Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [/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.2062/0.2084, allocations: 80.84 MB / 0.6706 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00445/0.2129, allocations: 1.948 MB / 0.6725 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005239/0.2182, allocations: 3.487 MB / 0.6759 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.2184, allocations: 0 / 0.6759 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003892/0.2188, allocations: 55.61 kB / 0.676 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.2192, allocations: 107.4 kB / 0.6761 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003109/0.2195, allocations: 83.75 kB / 0.6762 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.2199, allocations: 295.1 kB / 0.6765 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.22, allocations: 29.67 kB / 0.6765 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.2203, allocations: 115.6 kB / 0.6766 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.2205, allocations: 119.6 kB / 0.6767 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.2205, allocations: 16 kB / 0.6767 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2206, allocations: 47.97 kB / 0.6768 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.2207, allocations: 63.8 kB / 0.6768 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.2208, allocations: 103.4 kB / 0.6769 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.2211, allocations: 243.1 kB / 0.6772 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2212, allocations: 0 / 0.6772 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.264e-06/0.2212, allocations: 0 / 0.6772 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2212, allocations: 0 / 0.6772 GB, free: 13.86 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001073/0.2223, allocations: 0.5529 MB / 0.6777 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2223, allocations: 12.03 kB / 0.6777 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.2224, allocations: 24.66 kB / 0.6777 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003687/0.2227, allocations: 262.8 kB / 0.678 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.2228, allocations: 4 kB / 0.678 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.2228, allocations: 12 kB / 0.678 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.2231, allocations: 121.6 kB / 0.6781 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2232, allocations: 4 kB / 0.6781 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.2232, allocations: 4 kB / 0.6781 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2232, allocations: 0 / 0.6781 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.2236, allocations: 111.9 kB / 0.6782 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.2248, allocations: 0.5237 MB / 0.6787 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.2253, allocations: 150.5 kB / 0.6789 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.2256, allocations: 76.8 kB / 0.679 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.2256, allocations: 4 kB / 0.679 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.2256, allocations: 30.56 kB / 0.679 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.2256, allocations: 192 / 0.679 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0007922/0.2264, allocations: 261 kB / 0.6792 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.2265, allocations: 55.34 kB / 0.6793 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.2267, allocations: 238.6 kB / 0.6795 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.2267, allocations: 25.7 kB / 0.6795 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.439e-05/0.2268, allocations: 136 kB / 0.6797 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.2269, allocations: 35.55 kB / 0.6797 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.227, allocations: 41.7 kB / 0.6798 GB, free: 11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2271, allocations: 334.8 kB / 0.6801 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.2274, allocations: 87.94 kB / 0.6802 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.2276, allocations: 99.86 kB / 0.6803 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/0.2281, allocations: 176.7 kB / 0.6804 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2281, allocations: 0 / 0.6804 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009728/0.2291, allocations: 357 kB / 0.6808 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2291, allocations: 4 kB / 0.6808 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.2291, allocations: 4 kB / 0.6808 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.2297, allocations: 116.7 kB / 0.6809 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.23, allocations: 39.97 kB / 0.6809 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.2321, allocations: 1.859 MB / 0.6827 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.2323, allocations: 27.83 kB / 0.6828 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.968e-05/0.2323, allocations: 4 kB / 0.6828 GB, free: 7.754 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 (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.0001352/0.2325, allocations: 140.2 kB / 0.6829 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2325, allocations: 19.72 kB / 0.6829 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.2326, allocations: 30.08 kB / 0.6829 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2326, allocations: 0 / 0.6829 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2326, allocations: 0 / 0.6829 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2326, allocations: 0 / 0.6829 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.2328, allocations: 253.5 kB / 0.6832 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2329, allocations: 4 kB / 0.6832 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.2331, allocations: 47.89 kB / 0.6832 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2331, allocations: 0 / 0.6832 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2331, allocations: 0 / 0.6832 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2331, allocations: 4 kB / 0.6832 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2331, allocations: 0 / 0.6832 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005232/0.2336, allocations: 291 kB / 0.6835 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.2337, allocations: 108.8 kB / 0.6836 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2338, allocations: 4 kB / 0.6836 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.2339, allocations: 15.98 kB / 0.6836 GB, free: 6.766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.234, allocations: 7.984 kB / 0.6836 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.234, allocations: 3.984 kB / 0.6837 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001521/0.2342, allocations: 170 kB / 0.6838 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.2342, allocations: 0 / 0.6838 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003003/0.2345, allocations: 56.12 kB / 0.6839 GB, free: 6.535 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 (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.000184/0.2347, allocations: 115.2 kB / 0.684 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008891/0.2356, allocations: 346.5 kB / 0.6843 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.2356, allocations: 4 kB / 0.6843 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.2358, allocations: 75.88 kB / 0.6844 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2362, allocations: 28.34 kB / 0.6844 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.237, allocations: 439.3 kB / 0.6848 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2373, allocations: 0.7356 MB / 0.6855 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.2374, allocations: 48.55 kB / 0.6856 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.2375, allocations: 11.44 kB / 0.6856 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of SimCode: time 2.4e-07/0.2375, allocations: 4 kB / 0.6856 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of Templates: time 0.006146/0.2436, allocations: 2.673 MB / 0.6882 GB, free: 2.02 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)