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.7068/0.7068, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.001068/0.001068, allocations: 178.2 kB / 176.9 MB, free: 2.164 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.289/1.289, allocations: 170.5 MB / 379.3 MB, free: 11.88 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.001545/0.001545, allocations: 110.9 kB / 450 MB, free: 5.797 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.4476/0.4476, allocations: 73.39 MB / 0.6736 GB, free: 47.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.666/1.114, allocations: 321.9 MB / 0.988 GB, free: 76.85 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.114, allocations: 84.89 kB / 0.9881 GB, free: 76.81 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.02211/1.136, allocations: 10.22 MB / 0.9981 GB, free: 68.52 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.813e-06/1.136, allocations: 0 / 0.9981 GB, free: 68.52 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.252e-05/1.136, allocations: 4 kB / 0.9981 GB, free: 68.52 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.0007853/1.137, allocations: 0.5704 MB / 0.9986 GB, free: 67.92 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.137, allocations: 8.031 kB / 0.9986 GB, free: 67.91 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.103e-05/1.137, allocations: 23.72 kB / 0.9987 GB, free: 67.89 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000503/1.138, allocations: 276.8 kB / 0.9989 GB, free: 67.59 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/1.138, allocations: 4 kB / 0.9989 GB, free: 67.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/1.138, allocations: 7.312 kB / 0.9989 GB, free: 67.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.138, allocations: 124.7 kB / 0.9991 GB, free: 67.48 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/1.138, allocations: 0 / 0.9991 GB, free: 67.48 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/1.138, allocations: 4.344 kB / 0.9991 GB, free: 67.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.138, allocations: 3.953 kB / 0.9991 GB, free: 67.48 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/1.138, allocations: 98.47 kB / 0.9992 GB, free: 67.41 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007181/1.139, allocations: 0.499 MB / 0.9996 GB, free: 66.94 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/1.139, allocations: 84.44 kB / 0.9997 GB, free: 66.87 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.414e-05/1.139, allocations: 60.12 kB / 0.9998 GB, free: 66.83 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/1.139, allocations: 3.938 kB / 0.9998 GB, free: 66.83 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/1.139, allocations: 34.56 kB / 0.9998 GB, free: 66.79 MB / 0.573 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/1.139, allocations: 0 / 0.9998 GB, free: 66.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=11): time 0.0003474/1.139, allocations: 163.3 kB / 1 GB, free: 66.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/1.14, allocations: 51.41 kB / 1 GB, free: 66.59 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/1.14, allocations: 211.5 kB / 1 GB, free: 66.41 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/1.14, allocations: 33.33 kB / 1 GB, free: 66.38 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/1.14, allocations: 135.1 kB / 1 GB, free: 66.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/1.14, allocations: 38.89 kB / 1 GB, free: 66.24 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/1.14, allocations: 3.688 kB / 1 GB, free: 66.24 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/1.14, allocations: 334.5 kB / 1.001 GB, free: 65.91 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.267e-05/1.14, allocations: 45.67 kB / 1.001 GB, free: 65.88 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/1.14, allocations: 56.48 kB / 1.001 GB, free: 65.85 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.62e-05/1.14, allocations: 50.88 kB / 1.001 GB, free: 65.81 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.14, allocations: 0 / 1.001 GB, free: 65.81 MB / 0.573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002282/1.14, allocations: 153.6 kB / 1.001 GB, free: 65.69 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/1.14, allocations: 4.562 kB / 1.001 GB, free: 65.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.14, allocations: 0 / 1.001 GB, free: 65.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/1.14, allocations: 7.938 kB / 1.001 GB, free: 65.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/1.141, allocations: 59.44 kB / 1.001 GB, free: 65.62 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.141, allocations: 0 / 1.001 GB, free: 65.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/1.141, allocations: 39.88 kB / 1.001 GB, free: 65.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/1.141, allocations: 9.141 kB / 1.001 GB, free: 65.58 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 5.623e-05/1.141, allocations: 116.5 kB / 1.001 GB, free: 65.46 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/1.141, allocations: 23.7 kB / 1.001 GB, free: 65.44 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/1.141, allocations: 200.6 kB / 1.001 GB, free: 65.29 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/1.141, allocations: 0 / 1.001 GB, free: 65.29 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/1.141, allocations: 0 / 1.001 GB, free: 65.29 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/1.141, allocations: 0 / 1.001 GB, free: 65.29 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/1.142, allocations: 295 kB / 1.002 GB, free: 64.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.142, allocations: 4 kB / 1.002 GB, free: 64.99 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/1.142, allocations: 59.94 kB / 1.002 GB, free: 64.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.142, allocations: 0 / 1.002 GB, free: 64.93 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/1.142, allocations: 3.984 kB / 1.002 GB, free: 64.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.142, allocations: 4 kB / 1.002 GB, free: 64.92 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.142, allocations: 1.219 kB / 1.002 GB, free: 64.92 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/1.142, allocations: 274.5 kB / 1.002 GB, free: 64.68 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/1.142, allocations: 115.7 kB / 1.002 GB, free: 64.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/1.142, allocations: 7.859 kB / 1.002 GB, free: 64.55 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/1.143, allocations: 35.97 kB / 1.002 GB, free: 64.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/1.143, allocations: 22.03 kB / 1.002 GB, free: 64.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/1.143, allocations: 7.312 kB / 1.002 GB, free: 64.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 9.68e-05/1.143, allocations: 166.1 kB / 1.002 GB, free: 64.36 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.143, allocations: 0 / 1.002 GB, free: 64.36 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002743/1.143, allocations: 64.98 kB / 1.002 GB, free: 64.3 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.0002522/1.143, allocations: 174.6 kB / 1.003 GB, free: 64.13 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002366/1.144, allocations: 128.2 kB / 1.003 GB, free: 64.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/1.144, allocations: 0 / 1.003 GB, free: 64.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/1.144, allocations: 77.17 kB / 1.003 GB, free: 64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/1.144, allocations: 27.33 kB / 1.003 GB, free: 63.97 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004719/1.144, allocations: 274 kB / 1.003 GB, free: 63.72 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/1.145, allocations: 0.7472 MB / 1.004 GB, free: 62.95 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001684/1.145, allocations: 40.3 kB / 1.004 GB, free: 62.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.752e-05/1.145, allocations: 19.42 kB / 1.004 GB, free: 62.89 MB / 0.573 GB Notification: Performance of SimCode: time 2.41e-07/1.145, allocations: 0 / 1.004 GB, free: 62.89 MB / 0.573 GB Notification: Performance of Templates: time 0.005036/1.15, allocations: 3.06 MB / 1.007 GB, free: 59.87 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)