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.2063/0.2092, allocations: 80.84 MB / 0.6706 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003429/0.2127, allocations: 1.958 MB / 0.6725 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00409/0.2168, allocations: 3.472 MB / 0.6759 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.2169, allocations: 0 / 0.6759 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.2173, allocations: 59.62 kB / 0.676 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.2176, allocations: 111.3 kB / 0.6761 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.2179, allocations: 79.81 kB / 0.6762 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.2182, allocations: 295.1 kB / 0.6765 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2184, allocations: 25.69 kB / 0.6765 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.2186, allocations: 123.5 kB / 0.6766 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.2188, allocations: 115.6 kB / 0.6767 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.2188, allocations: 16 kB / 0.6767 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.2189, allocations: 51.95 kB / 0.6768 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.219, allocations: 67.75 kB / 0.6768 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.2191, allocations: 103.4 kB / 0.6769 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.2194, allocations: 235.2 kB / 0.6772 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2194, allocations: 4 kB / 0.6772 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2194, allocations: 0 / 0.6772 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2194, allocations: 0 / 0.6772 GB, free: 11.12 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.00109/0.2205, allocations: 0.5529 MB / 0.6777 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2206, allocations: 8.031 kB / 0.6777 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.2206, allocations: 24.66 kB / 0.6777 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.221, allocations: 266.8 kB / 0.678 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.2211, allocations: 8 kB / 0.678 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.2211, allocations: 8 kB / 0.678 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000331/0.2214, allocations: 121.6 kB / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2215, allocations: 0 / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2215, allocations: 4 kB / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2215, allocations: 0 / 0.6781 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.2219, allocations: 119.9 kB / 0.6782 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.2231, allocations: 0.5198 MB / 0.6787 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.2237, allocations: 154.5 kB / 0.6789 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.2239, allocations: 68.81 kB / 0.679 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2239, allocations: 4.172 kB / 0.679 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.224, allocations: 42.5 kB / 0.679 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.224, allocations: 0 / 0.679 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0007637/0.2247, allocations: 245.2 kB / 0.6792 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2248, allocations: 55.41 kB / 0.6793 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.225, allocations: 246.5 kB / 0.6795 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.225, allocations: 25.7 kB / 0.6795 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.66e-05/0.2251, allocations: 136 kB / 0.6797 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.2252, allocations: 31.56 kB / 0.6797 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.2253, allocations: 37.69 kB / 0.6797 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2254, allocations: 335.2 kB / 0.6801 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.2257, allocations: 95.92 kB / 0.6802 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.226, allocations: 95.92 kB / 0.6802 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004696/0.2265, allocations: 178.8 kB / 0.6804 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2265, allocations: 3.938 kB / 0.6804 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001021/0.2275, allocations: 353.8 kB / 0.6808 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2275, allocations: 8 kB / 0.6808 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2276, allocations: 0 / 0.6808 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005988/0.2282, allocations: 108.7 kB / 0.6809 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.2284, allocations: 43.97 kB / 0.6809 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.2308, allocations: 1.86 MB / 0.6827 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.231, allocations: 31.89 kB / 0.6828 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2311, allocations: 4 kB / 0.6828 GB, free: 5.008 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.0001467/0.2312, allocations: 137.8 kB / 0.6829 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.2313, allocations: 23.66 kB / 0.6829 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.226e-05/0.2313, allocations: 21.7 kB / 0.6829 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2313, allocations: 4 kB / 0.6829 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2313, allocations: 0 / 0.6829 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2314, allocations: 0 / 0.6829 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.2316, allocations: 253.6 kB / 0.6832 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2316, allocations: 4 kB / 0.6832 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.2319, allocations: 43.95 kB / 0.6832 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2319, allocations: 3.938 kB / 0.6832 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.2319, allocations: 0 / 0.6832 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2319, allocations: 0 / 0.6832 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2319, allocations: 0 / 0.6832 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005276/0.2324, allocations: 299 kB / 0.6835 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/0.2325, allocations: 104.9 kB / 0.6836 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.2326, allocations: 0 / 0.6836 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.2327, allocations: 15.98 kB / 0.6836 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.2328, allocations: 7.984 kB / 0.6836 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.2328, allocations: 7.984 kB / 0.6836 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001517/0.233, allocations: 170 kB / 0.6838 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.233, allocations: 0 / 0.6838 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003281/0.2333, allocations: 55.91 kB / 0.6839 GB, free: 3.785 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.0001715/0.2335, allocations: 107.2 kB / 0.684 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009433/0.2345, allocations: 365.8 kB / 0.6843 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2345, allocations: 0 / 0.6843 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.2347, allocations: 71.94 kB / 0.6844 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.2351, allocations: 35.16 kB / 0.6844 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000818/0.2359, allocations: 435 kB / 0.6848 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.2363, allocations: 0.7395 MB / 0.6856 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000141/0.2364, allocations: 44.39 kB / 0.6856 GB, free: 1.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.2365, allocations: 15.42 kB / 0.6856 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.2365, allocations: 0 / 0.6856 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of Templates: time 0.006632/0.2431, allocations: 2.677 MB / 0.6882 GB, free: 15.26 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)