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.8381/0.8381, allocations: 133.7 MB / 148.6 MB, free: 13.62 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.001341/0.001341, allocations: 182.8 kB / 180.9 MB, free: 15.08 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.689/1.689, allocations: 170.7 MB / 383.7 MB, free: 16.17 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.001671/0.001672, allocations: 122.9 kB / 454.6 MB, free: 9.73 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.1848/0.1853, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.149/1.335, allocations: 322 MB / 0.9957 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/1.335, allocations: 89.45 kB / 0.9958 GB, free: 178.3 MB / 0.6042 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.02791/1.363, allocations: 10.27 MB / 1.006 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.755e-06/1.363, allocations: 0 / 1.006 GB, free: 171.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.774e-05/1.363, allocations: 4 kB / 1.006 GB, free: 171.7 MB / 0.6042 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.001054/1.364, allocations: 0.6052 MB / 1.006 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.364, allocations: 11.64 kB / 1.006 GB, free: 171.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.704e-05/1.364, allocations: 27.72 kB / 1.006 GB, free: 171 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/1.365, allocations: 272.5 kB / 1.007 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.365, allocations: 14.92 kB / 1.007 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/1.365, allocations: 4.875 kB / 1.007 GB, free: 170.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004682/1.365, allocations: 193 kB / 1.007 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.365, allocations: 0 / 1.007 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/1.366, allocations: 4.344 kB / 1.007 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/1.366, allocations: 7.953 kB / 1.007 GB, free: 170.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006236/1.366, allocations: 240.4 kB / 1.007 GB, free: 170.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000836/1.367, allocations: 0.4946 MB / 1.008 GB, free: 169.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/1.367, allocations: 151.6 kB / 1.008 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/1.367, allocations: 4 kB / 1.008 GB, free: 169.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.367, allocations: 30.56 kB / 1.008 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/1.367, allocations: 0 / 1.008 GB, free: 169.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001148/1.369, allocations: 423.2 kB / 1.008 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/1.369, allocations: 55.41 kB / 1.008 GB, free: 169.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/1.369, allocations: 206.2 kB / 1.008 GB, free: 169.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.369, allocations: 29.7 kB / 1.008 GB, free: 169 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/1.369, allocations: 148 kB / 1.009 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/1.369, allocations: 35.45 kB / 1.009 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/1.369, allocations: 0 / 1.009 GB, free: 168.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/1.369, allocations: 338.8 kB / 1.009 GB, free: 168.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003063/1.369, allocations: 115.8 kB / 1.009 GB, free: 168.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/1.37, allocations: 119.9 kB / 1.009 GB, free: 168.3 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/1.37, allocations: 123.8 kB / 1.009 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.37, allocations: 0 / 1.009 GB, free: 168.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006853/1.371, allocations: 297.1 kB / 1.01 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/1.371, allocations: 4 kB / 1.01 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.371, allocations: 5.312 kB / 1.01 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.371, allocations: 4 kB / 1.01 GB, free: 167.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/1.371, allocations: 55.88 kB / 1.01 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.371, allocations: 7.938 kB / 1.01 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/1.371, allocations: 43.88 kB / 1.01 GB, free: 167.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/1.371, allocations: 3.984 kB / 1.01 GB, free: 167.8 MB / 0.6042 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 (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 0.0001206/1.372, allocations: 129.8 kB / 1.01 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/1.372, allocations: 19.72 kB / 1.01 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008282/1.372, allocations: 342.4 kB / 1.01 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.372, allocations: 3.938 kB / 1.01 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/1.372, allocations: 0 / 1.01 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.372, allocations: 3.984 kB / 1.01 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/1.373, allocations: 293.3 kB / 1.01 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.373, allocations: 7.938 kB / 1.01 GB, free: 166.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/1.373, allocations: 59.95 kB / 1.011 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.373, allocations: 3.984 kB / 1.011 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/1.373, allocations: 7.984 kB / 1.011 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.373, allocations: 0 / 1.011 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.373, allocations: 4 kB / 1.011 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007087/1.374, allocations: 404.9 kB / 1.011 GB, free: 166.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/1.374, allocations: 120.8 kB / 1.011 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/1.374, allocations: 8 kB / 1.011 GB, free: 166.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/1.374, allocations: 35.91 kB / 1.011 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/1.374, allocations: 19.97 kB / 1.011 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/1.374, allocations: 3.984 kB / 1.011 GB, free: 166.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001209/1.374, allocations: 174 kB / 1.011 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/1.374, allocations: 0 / 1.011 GB, free: 166.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003482/1.375, allocations: 67.92 kB / 1.011 GB, free: 166 MB / 0.6042 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 (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.0002898/1.375, allocations: 155.1 kB / 1.011 GB, free: 165.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007225/1.376, allocations: 265.1 kB / 1.012 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.376, allocations: 8 kB / 1.012 GB, free: 165.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003483/1.376, allocations: 139.9 kB / 1.012 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/1.376, allocations: 29.84 kB / 1.012 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/1.377, allocations: 0.5144 MB / 1.012 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/1.377, allocations: 0.7433 MB / 1.013 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001801/1.378, allocations: 39.19 kB / 1.013 GB, free: 164 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.388e-05/1.378, allocations: 19.42 kB / 1.013 GB, free: 164 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/1.378, allocations: 3.938 kB / 1.013 GB, free: 164 MB / 0.6042 GB Notification: Performance of Templates: time 0.005778/1.384, allocations: 2.856 MB / 1.016 GB, free: 161.2 MB / 0.6042 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)