Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7705/0.7705, allocations: 132.4 MB / 139.9 MB, free: 15.42 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.001094/0.001094, allocations: 167.8 kB / 171.8 MB, free: 2.012 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.68/1.68, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001933/0.001934, allocations: 124.1 kB / 444.8 MB, free: 9.227 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.6047/0.6048, allocations: 73.4 MB / 0.6666 GB, free: 47.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.597/6.202, allocations: 2.163 GB / 2.83 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/6.202, allocations: 93.39 kB / 2.83 GB, free: 13 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.6222/6.824, allocations: 92.41 MB / 2.92 GB, free: 176.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.523e-06/6.824, allocations: 0 / 2.92 GB, free: 176.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002281/6.825, allocations: 43 kB / 2.92 GB, free: 176.2 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.005999/6.831, allocations: 1.573 MB / 2.922 GB, free: 175 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/6.831, allocations: 7.625 kB / 2.922 GB, free: 175 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006899/6.838, allocations: 0.9148 MB / 2.923 GB, free: 174.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/6.84, allocations: 0.803 MB / 2.923 GB, free: 173.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/6.84, allocations: 45.75 kB / 2.924 GB, free: 173.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006187/6.841, allocations: 81.34 kB / 2.924 GB, free: 173.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003958/6.845, allocations: 1.877 MB / 2.925 GB, free: 173.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/6.849, allocations: 1.521 MB / 2.927 GB, free: 172.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/6.849, allocations: 0 / 2.927 GB, free: 172.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/6.849, allocations: 8.438 kB / 2.927 GB, free: 172.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.961e-05/6.849, allocations: 60.06 kB / 2.927 GB, free: 172.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/6.86, allocations: 5.575 MB / 2.932 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/6.862, allocations: 1.266 MB / 2.934 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008736/6.863, allocations: 0.6054 MB / 2.934 GB, free: 167 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007575/6.864, allocations: 489.3 kB / 2.935 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/6.865, allocations: 0.782 MB / 2.935 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=127): time 5.921e-06/6.865, allocations: 0 / 2.935 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127): time 0.0209/6.886, allocations: 3.061 MB / 2.938 GB, free: 162.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/6.887, allocations: 282.4 kB / 2.939 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/6.888, allocations: 0.5896 MB / 2.939 GB, free: 161.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003155/6.888, allocations: 29.7 kB / 2.939 GB, free: 161.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/6.889, allocations: 0.5466 MB / 2.94 GB, free: 161.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005866/6.889, allocations: 405.8 kB / 2.94 GB, free: 160.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/6.889, allocations: 0 / 2.94 GB, free: 160.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002123/6.89, allocations: 398.7 kB / 2.941 GB, free: 160.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008934/6.89, allocations: 474.5 kB / 2.941 GB, free: 160 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009858/6.891, allocations: 0.6358 MB / 2.942 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01725/6.909, allocations: 2.39 MB / 2.944 GB, free: 156.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/6.909, allocations: 0 / 2.944 GB, free: 156.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.02012/6.929, allocations: 3.221 MB / 2.947 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003565/6.929, allocations: 1.11 MB / 2.948 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/6.929, allocations: 4 kB / 2.948 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/6.93, allocations: 28.78 kB / 2.948 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/6.932, allocations: 339.5 kB / 2.949 GB, free: 152.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003612/6.932, allocations: 0.5445 MB / 2.949 GB, free: 151.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/6.934, allocations: 159 kB / 2.949 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002899/6.935, allocations: 63.89 kB / 2.949 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/6.935, allocations: 4 kB / 2.949 GB, free: 151.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01894/6.953, allocations: 3.094 MB / 2.952 GB, free: 148.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/6.954, allocations: 4 kB / 2.952 GB, free: 148.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/6.954, allocations: 8 kB / 2.952 GB, free: 148.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/6.956, allocations: 335.9 kB / 2.953 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.63e-05/6.956, allocations: 19.92 kB / 2.953 GB, free: 147.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/6.958, allocations: 151 kB / 2.953 GB, free: 147.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/6.958, allocations: 59.95 kB / 2.953 GB, free: 147.6 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005519/6.958, allocations: 132.7 kB / 2.953 GB, free: 147.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004422/6.959, allocations: 102.8 kB / 2.953 GB, free: 147.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01969/6.979, allocations: 3.42 MB / 2.957 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/6.979, allocations: 16 kB / 2.957 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/6.979, allocations: 0 / 2.957 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/6.979, allocations: 7.969 kB / 2.957 GB, free: 143.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02204/7.001, allocations: 5.004 MB / 2.961 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/7.001, allocations: 4 kB / 2.961 GB, free: 138.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/7.003, allocations: 311.7 kB / 2.962 GB, free: 138.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/7.003, allocations: 28.84 kB / 2.962 GB, free: 138.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002018/7.003, allocations: 31.95 kB / 2.962 GB, free: 138.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00083/7.004, allocations: 1.233 MB / 2.963 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/7.004, allocations: 0 / 2.963 GB, free: 137.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01897/7.023, allocations: 3.302 MB / 2.966 GB, free: 133.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009513/7.024, allocations: 407.1 kB / 2.967 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/7.024, allocations: 8 kB / 2.967 GB, free: 133.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/7.026, allocations: 115.9 kB / 2.967 GB, free: 133.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/7.026, allocations: 85.14 kB / 2.967 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/7.026, allocations: 55.95 kB / 2.967 GB, free: 133.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007249/7.027, allocations: 487.1 kB / 2.967 GB, free: 132.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/7.027, allocations: 4 kB / 2.967 GB, free: 132.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002607/7.03, allocations: 0.6808 MB / 2.968 GB, free: 132 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001561/7.031, allocations: 0.5466 MB / 2.969 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003348/7.035, allocations: 2.133 MB / 2.971 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/7.035, allocations: 0 / 2.971 GB, free: 129.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/7.036, allocations: 0.7524 MB / 2.971 GB, free: 128.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/7.037, allocations: 202.8 kB / 2.972 GB, free: 128.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/7.041, allocations: 1.873 MB / 2.973 GB, free: 126.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009428/7.042, allocations: 1.22 MB / 2.975 GB, free: 125.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.003314/7.045, allocations: 0.601 MB / 2.975 GB, free: 124.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/7.046, allocations: 123.3 kB / 2.975 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/7.046, allocations: 0 / 2.975 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.03223/7.078, allocations: 18.3 MB / 2.993 GB, free: 106.3 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)