Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.4 MB / 139.9 MB, free: 15.38 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001188/0.001188, allocations: 167.7 kB / 171.8 MB, free: 2.039 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.55/1.55, allocations: 170.6 MB / 374.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001912/0.001912, allocations: 121.7 kB / 444.8 MB, free: 9.234 MB / 346.7 MB [/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.4906/0.4907, allocations: 73.39 MB / 0.6666 GB, free: 46.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7615/1.252, allocations: 321.3 MB / 0.9804 GB, free: 84.41 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.253, allocations: 87.48 kB / 0.9804 GB, free: 84.36 MB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:36:63-36:71:writable] Warning: Non-array modification '"W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:40:6-40:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:41:6-41:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:28:writable] Warning: Non-array modification '"Temperature"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:40:6-40:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:41:6-41:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:28:writable] Warning: Non-array modification '"Temperature"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:40:6-40:14:writable] Warning: Non-array modification '"K"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:41:6-41:24:writable] Warning: Non-array modification '"degC"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Fluid/SolarCollectors/BaseClasses/EN12975SolarGain.mo:42:6-42:28:writable] Warning: Non-array modification '"Temperature"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.02328/1.276, allocations: 10.14 MB / 0.9903 GB, free: 76.29 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.894e-06/1.276, allocations: 4 kB / 0.9903 GB, free: 76.29 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.336e-05/1.276, allocations: 4 kB / 0.9904 GB, free: 76.28 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008494/1.277, allocations: 0.5648 MB / 0.9909 GB, free: 75.69 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.277, allocations: 8.031 kB / 0.9909 GB, free: 75.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/1.277, allocations: 24.97 kB / 0.9909 GB, free: 75.66 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/1.277, allocations: 283 kB / 0.9912 GB, free: 75.36 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.277, allocations: 4 kB / 0.9912 GB, free: 75.35 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/1.277, allocations: 4 kB / 0.9912 GB, free: 75.35 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001889/1.278, allocations: 101.5 kB / 0.9913 GB, free: 75.28 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/1.278, allocations: 108.2 kB / 0.9914 GB, free: 75.19 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.278, allocations: 0 / 0.9914 GB, free: 75.19 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/1.278, allocations: 3.953 kB / 0.9914 GB, free: 75.19 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/1.278, allocations: 4 kB / 0.9914 GB, free: 75.18 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/1.279, allocations: 479 kB / 0.9919 GB, free: 74.74 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/1.279, allocations: 76.34 kB / 0.9919 GB, free: 74.68 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/1.279, allocations: 63.72 kB / 0.992 GB, free: 74.64 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/1.279, allocations: 3.984 kB / 0.992 GB, free: 74.64 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.619e-05/1.279, allocations: 36.69 kB / 0.992 GB, free: 74.59 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/1.279, allocations: 0 / 0.992 GB, free: 74.59 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0007946/1.28, allocations: 256 kB / 0.9923 GB, free: 74.38 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/1.28, allocations: 51.41 kB / 0.9923 GB, free: 74.32 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/1.28, allocations: 201.4 kB / 0.9925 GB, free: 74.15 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.28, allocations: 29.7 kB / 0.9926 GB, free: 74.11 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/1.28, allocations: 135.8 kB / 0.9927 GB, free: 74.01 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/1.28, allocations: 34.73 kB / 0.9927 GB, free: 73.98 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/1.28, allocations: 4 kB / 0.9927 GB, free: 73.98 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/1.28, allocations: 329 kB / 0.993 GB, free: 73.66 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/1.28, allocations: 44.98 kB / 0.9931 GB, free: 73.63 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/1.28, allocations: 47.23 kB / 0.9931 GB, free: 73.6 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/1.281, allocations: 139.7 kB / 0.9933 GB, free: 73.49 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.281, allocations: 0 / 0.9933 GB, free: 73.49 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007034/1.282, allocations: 262.2 kB / 0.9935 GB, free: 73.27 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/1.282, allocations: 4 kB / 0.9935 GB, free: 73.26 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.282, allocations: 0 / 0.9935 GB, free: 73.26 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.282, allocations: 3.984 kB / 0.9935 GB, free: 73.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/1.282, allocations: 57.52 kB / 0.9936 GB, free: 73.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.282, allocations: 0 / 0.9936 GB, free: 73.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/1.282, allocations: 41.7 kB / 0.9936 GB, free: 73.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/1.282, allocations: 6.75 kB / 0.9936 GB, free: 73.16 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/1.282, allocations: 105.5 kB / 0.9937 GB, free: 73.05 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/1.282, allocations: 27.67 kB / 0.9937 GB, free: 73.02 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007943/1.283, allocations: 286.8 kB / 0.994 GB, free: 72.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/1.283, allocations: 4 kB / 0.994 GB, free: 72.79 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.283, allocations: 0 / 0.994 GB, free: 72.79 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.283, allocations: 0 / 0.994 GB, free: 72.79 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/1.283, allocations: 249.4 kB / 0.9943 GB, free: 72.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.283, allocations: 0 / 0.9943 GB, free: 72.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/1.284, allocations: 59.94 kB / 0.9943 GB, free: 72.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.284, allocations: 0 / 0.9943 GB, free: 72.49 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.284, allocations: 11.94 kB / 0.9943 GB, free: 72.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.284, allocations: 2 kB / 0.9943 GB, free: 72.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/1.284, allocations: 0 / 0.9943 GB, free: 72.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007188/1.284, allocations: 366.1 kB / 0.9947 GB, free: 72.16 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/1.284, allocations: 119.6 kB / 0.9948 GB, free: 72.03 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/1.285, allocations: 3.984 kB / 0.9948 GB, free: 72.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/1.285, allocations: 43.86 kB / 0.9948 GB, free: 71.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/1.285, allocations: 18.91 kB / 0.9949 GB, free: 71.96 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/1.285, allocations: 0 / 0.9949 GB, free: 71.96 MB / 0.573 GB Notification: Performance of sorting global known variables: time 8.998e-05/1.285, allocations: 163.2 kB / 0.995 GB, free: 71.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.285, allocations: 0 / 0.995 GB, free: 71.83 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002847/1.285, allocations: 53.67 kB / 0.9951 GB, free: 71.78 MB / 0.573 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002506/1.285, allocations: 176.6 kB / 0.9952 GB, free: 71.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002217/1.286, allocations: 120.8 kB / 0.9954 GB, free: 71.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/1.286, allocations: 0 / 0.9954 GB, free: 71.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/1.286, allocations: 73.48 kB / 0.9954 GB, free: 71.47 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/1.286, allocations: 22.38 kB / 0.9954 GB, free: 71.45 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/1.287, allocations: 260 kB / 0.9957 GB, free: 71.21 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/1.287, allocations: 0.747 MB / 0.9964 GB, free: 70.44 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001722/1.287, allocations: 39.19 kB / 0.9965 GB, free: 70.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/1.287, allocations: 21.86 kB / 0.9965 GB, free: 70.38 MB / 0.573 GB Notification: Performance of SimCode: time 2.21e-07/1.287, allocations: 0 / 0.9965 GB, free: 70.38 MB / 0.573 GB Notification: Performance of Templates: time 0.004525/1.292, allocations: 2.374 MB / 0.9988 GB, free: 68.06 MB / 0.573 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)