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.9835/0.9835, allocations: 132.4 MB / 139.9 MB, free: 2.84 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.001869/0.001869, allocations: 175.2 kB / 171.8 MB, free: 4.922 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.502/1.502, allocations: 170.6 MB / 374.2 MB, free: 188 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.001674/0.001674, allocations: 118.8 kB / 444.8 MB, free: 14.17 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.1771/0.1772, allocations: 73.41 MB / 0.6666 GB, free: 15.65 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.721/5.898, allocations: 2.163 GB / 2.83 GB, free: 50.46 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/5.898, allocations: 88.89 kB / 2.83 GB, free: 50.38 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.6032/6.502, allocations: 92.41 MB / 2.92 GB, free: 202.4 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/6.502, allocations: 0 / 2.92 GB, free: 202.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.886e-05/6.502, allocations: 36.5 kB / 2.92 GB, free: 202.4 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.003097/6.505, allocations: 1.573 MB / 2.922 GB, free: 201.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/6.505, allocations: 10.59 kB / 2.922 GB, free: 201.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006004/6.511, allocations: 0.9113 MB / 2.923 GB, free: 201.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/6.513, allocations: 0.8016 MB / 2.923 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/6.513, allocations: 47.09 kB / 2.924 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/6.513, allocations: 82.19 kB / 2.924 GB, free: 200.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002998/6.516, allocations: 1.879 MB / 2.925 GB, free: 200.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/6.518, allocations: 1.518 MB / 2.927 GB, free: 199.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/6.518, allocations: 0.8438 kB / 2.927 GB, free: 199.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/6.519, allocations: 3.875 kB / 2.927 GB, free: 199.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.034e-05/6.519, allocations: 67.91 kB / 2.927 GB, free: 199.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009505/6.528, allocations: 5.568 MB / 2.932 GB, free: 195.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/6.53, allocations: 1.272 MB / 2.934 GB, free: 194.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008672/6.531, allocations: 0.608 MB / 2.934 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006383/6.532, allocations: 491.2 kB / 2.935 GB, free: 193.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/6.533, allocations: 0.7909 MB / 2.935 GB, free: 193.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=127): time 3.186e-06/6.533, allocations: 0 / 2.935 GB, free: 193.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127): time 0.01858/6.552, allocations: 3.056 MB / 2.938 GB, free: 191.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/6.552, allocations: 279.2 kB / 2.939 GB, free: 191.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/6.552, allocations: 0.5865 MB / 2.939 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001172/6.553, allocations: 29.2 kB / 2.939 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/6.553, allocations: 0.5511 MB / 2.94 GB, free: 190.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/6.553, allocations: 402 kB / 2.94 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.084e-05/6.553, allocations: 0 / 2.94 GB, free: 190.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000122/6.554, allocations: 398.1 kB / 2.941 GB, free: 189.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006646/6.554, allocations: 475.2 kB / 2.941 GB, free: 189.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007664/6.555, allocations: 0.639 MB / 2.942 GB, free: 189.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0168/6.572, allocations: 2.394 MB / 2.944 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.54e-05/6.572, allocations: 0 / 2.944 GB, free: 188.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.0195/6.591, allocations: 3.222 MB / 2.947 GB, free: 186.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004003/6.592, allocations: 1.117 MB / 2.948 GB, free: 185.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/6.592, allocations: 0 / 2.948 GB, free: 185.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/6.592, allocations: 25.84 kB / 2.948 GB, free: 185.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/6.594, allocations: 339.5 kB / 2.949 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004649/6.595, allocations: 0.539 MB / 2.949 GB, free: 184.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/6.597, allocations: 168.4 kB / 2.949 GB, free: 184.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/6.597, allocations: 60.08 kB / 2.949 GB, free: 184.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/6.597, allocations: 3.906 kB / 2.949 GB, free: 184.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01799/6.615, allocations: 3.094 MB / 2.952 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/6.615, allocations: 4 kB / 2.952 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/6.615, allocations: 8 kB / 2.952 GB, free: 182.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/6.617, allocations: 339.8 kB / 2.953 GB, free: 181.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/6.617, allocations: 11.94 kB / 2.953 GB, free: 181.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/6.618, allocations: 155 kB / 2.953 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/6.618, allocations: 59.95 kB / 2.953 GB, free: 181.5 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.0003717/6.619, allocations: 128.7 kB / 2.953 GB, free: 181.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/6.619, allocations: 106.7 kB / 2.953 GB, free: 181.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01911/6.638, allocations: 3.412 MB / 2.957 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/6.638, allocations: 16 kB / 2.957 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/6.638, allocations: 7.875 kB / 2.957 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-05/6.638, allocations: 7.969 kB / 2.957 GB, free: 177.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/6.659, allocations: 5.002 MB / 2.961 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/6.659, allocations: 7.984 kB / 2.961 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/6.66, allocations: 311.7 kB / 2.962 GB, free: 172.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001323/6.66, allocations: 28.84 kB / 2.962 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/6.661, allocations: 27.97 kB / 2.962 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006931/6.661, allocations: 1.24 MB / 2.963 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/6.661, allocations: 8.141 kB / 2.963 GB, free: 171.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/6.679, allocations: 3.295 MB / 2.966 GB, free: 167.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/6.68, allocations: 403.2 kB / 2.967 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/6.68, allocations: 8 kB / 2.967 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/6.681, allocations: 111.9 kB / 2.967 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/6.682, allocations: 85.19 kB / 2.967 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/6.682, allocations: 59.95 kB / 2.967 GB, free: 167 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0007109/6.682, allocations: 483.1 kB / 2.967 GB, free: 166.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/6.682, allocations: 0 / 2.967 GB, free: 166.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002298/6.685, allocations: 0.6846 MB / 2.968 GB, free: 165.9 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.001304/6.686, allocations: 0.5402 MB / 2.969 GB, free: 165.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003111/6.689, allocations: 2.13 MB / 2.971 GB, free: 163.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/6.689, allocations: 4.062 kB / 2.971 GB, free: 163.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009233/6.69, allocations: 0.7563 MB / 2.971 GB, free: 162.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/6.691, allocations: 203.1 kB / 2.972 GB, free: 162.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/6.694, allocations: 1.877 MB / 2.973 GB, free: 160.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/6.695, allocations: 1.22 MB / 2.975 GB, free: 159.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002832/6.698, allocations: 0.6054 MB / 2.975 GB, free: 158.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/6.698, allocations: 127.3 kB / 2.975 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of SimCode: time 8.91e-07/6.698, allocations: 0 / 2.975 GB, free: 158.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.02684/6.725, allocations: 18.29 MB / 2.993 GB, free: 140.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)