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.8263/0.8263, allocations: 132.4 MB / 139.9 MB, free: 2.805 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001072/0.001072, allocations: 185.5 kB / 171.8 MB, free: 4.914 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.33/1.33, allocations: 170.6 MB / 374.2 MB, free: 156 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001638/0.001638, allocations: 107.7 kB / 444.8 MB, free: 14.15 MB / 314.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.1532/0.1533, allocations: 73.41 MB / 0.6666 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.189, allocations: 321.3 MB / 0.9804 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000209/1.189, allocations: 89.62 kB / 0.9804 GB, free: 135.8 MB / 0.5886 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.02218/1.211, allocations: 10.13 MB / 0.9903 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.874e-06/1.211, allocations: 0 / 0.9903 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.105e-05/1.211, allocations: 4 kB / 0.9903 GB, free: 127.7 MB / 0.5886 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.0008248/1.212, allocations: 0.5665 MB / 0.9909 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/1.212, allocations: 12.03 kB / 0.9909 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/1.212, allocations: 27.72 kB / 0.9909 GB, free: 127 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/1.213, allocations: 284.2 kB / 0.9912 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/1.213, allocations: 0 / 0.9912 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/1.213, allocations: 4 kB / 0.9912 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002014/1.213, allocations: 98.78 kB / 0.9913 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/1.213, allocations: 110.8 kB / 0.9914 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.213, allocations: 4 kB / 0.9914 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/1.213, allocations: 0 / 0.9914 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/1.213, allocations: 4 kB / 0.9914 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000756/1.214, allocations: 476.2 kB / 0.9919 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/1.214, allocations: 70.92 kB / 0.9919 GB, free: 126.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/1.214, allocations: 60.53 kB / 0.992 GB, free: 126 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/1.214, allocations: 11.92 kB / 0.992 GB, free: 126 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.193e-05/1.214, allocations: 30.56 kB / 0.992 GB, free: 126 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.124e-06/1.214, allocations: 4 kB / 0.992 GB, free: 126 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0007931/1.215, allocations: 250.4 kB / 0.9923 GB, free: 125.8 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/1.215, allocations: 55.41 kB / 0.9923 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/1.215, allocations: 201.2 kB / 0.9925 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/1.215, allocations: 25.7 kB / 0.9925 GB, free: 125.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/1.215, allocations: 140.5 kB / 0.9927 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/1.215, allocations: 35.36 kB / 0.9927 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/1.215, allocations: 0 / 0.9927 GB, free: 125.4 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.015e-05/1.216, allocations: 336.4 kB / 0.993 GB, free: 125 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/1.216, allocations: 47.36 kB / 0.9931 GB, free: 125 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.557e-05/1.216, allocations: 45.33 kB / 0.9931 GB, free: 125 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005418/1.216, allocations: 145.1 kB / 0.9933 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.216, allocations: 3.953 kB / 0.9933 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000666/1.217, allocations: 244.8 kB / 0.9935 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.217, allocations: 4 kB / 0.9935 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.217, allocations: 0 / 0.9935 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.217, allocations: 4 kB / 0.9935 GB, free: 124.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/1.217, allocations: 63.5 kB / 0.9936 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.217, allocations: 3.984 kB / 0.9936 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/1.217, allocations: 45.72 kB / 0.9936 GB, free: 124.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/1.218, allocations: 3.984 kB / 0.9936 GB, free: 124.5 MB / 0.5886 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 5.933e-05/1.218, allocations: 109 kB / 0.9937 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/1.218, allocations: 23.67 kB / 0.9937 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/1.218, allocations: 281.3 kB / 0.994 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.218, allocations: 4 kB / 0.994 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.218, allocations: 3.938 kB / 0.994 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/1.218, allocations: 0 / 0.994 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/1.219, allocations: 253.4 kB / 0.9943 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.219, allocations: 3.938 kB / 0.9943 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/1.219, allocations: 55.95 kB / 0.9943 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.219, allocations: 11.94 kB / 0.9943 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/1.219, allocations: 0 / 0.9943 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.219, allocations: 0 / 0.9943 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.219, allocations: 0 / 0.9943 GB, free: 123.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/1.22, allocations: 361.2 kB / 0.9947 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/1.22, allocations: 119.5 kB / 0.9948 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/1.22, allocations: 11.95 kB / 0.9948 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/1.22, allocations: 35.97 kB / 0.9948 GB, free: 123.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/1.22, allocations: 19.41 kB / 0.9949 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/1.22, allocations: 7.984 kB / 0.9949 GB, free: 123.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.898e-05/1.22, allocations: 169.9 kB / 0.995 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/1.22, allocations: 0 / 0.995 GB, free: 123.2 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002943/1.221, allocations: 47.94 kB / 0.9951 GB, free: 123.2 MB / 0.5886 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.0002363/1.221, allocations: 170.6 kB / 0.9952 GB, free: 123 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002161/1.221, allocations: 120.6 kB / 0.9953 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.221, allocations: 4 kB / 0.9954 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.771e-05/1.221, allocations: 68.11 kB / 0.9954 GB, free: 122.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002672/1.221, allocations: 30.75 kB / 0.9954 GB, free: 122.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/1.222, allocations: 259.3 kB / 0.9957 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/1.222, allocations: 0.754 MB / 0.9964 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001683/1.222, allocations: 36.83 kB / 0.9965 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/1.222, allocations: 19.42 kB / 0.9965 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.61e-07/1.222, allocations: 0 / 0.9965 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.005095/1.227, allocations: 2.374 MB / 0.9988 GB, free: 119.4 MB / 0.5886 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)