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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8759/0.8759, allocations: 132.4 MB / 139.7 MB, free: 15.58 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.001167/0.001167, allocations: 169.1 kB / 171.6 MB, free: 2.043 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.603/1.603, allocations: 170.5 MB / 373.9 MB, free: 15.85 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.001918/0.001918, allocations: 116.9 kB / 444.4 MB, free: 9.391 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.5992/0.5992, allocations: 73.4 MB / 0.666 GB, free: 62.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.771/5.371, allocations: 2.163 GB / 2.829 GB, free: 31.4 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/5.371, allocations: 98.98 kB / 2.829 GB, free: 31.3 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: time 0.5573/5.928, allocations: 95.93 MB / 2.923 GB, free: 185.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002137/5.929, allocations: 39 kB / 2.923 GB, free: 185.7 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.005443/5.934, allocations: 1.635 MB / 2.925 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/5.934, allocations: 8.656 kB / 2.925 GB, free: 184.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007927/5.942, allocations: 1.022 MB / 2.926 GB, free: 184 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/5.945, allocations: 0.8078 MB / 2.926 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/5.945, allocations: 49.39 kB / 2.927 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007375/5.946, allocations: 81.78 kB / 2.927 GB, free: 183.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005763/5.952, allocations: 1.889 MB / 2.928 GB, free: 182.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004938/5.957, allocations: 1.521 MB / 2.93 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.336e-05/5.957, allocations: 5.125 kB / 2.93 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000363/5.957, allocations: 2.219 kB / 2.93 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/5.957, allocations: 64.94 kB / 2.93 GB, free: 181.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/5.972, allocations: 5.755 MB / 2.936 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/5.974, allocations: 1.227 MB / 2.937 GB, free: 176.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/5.975, allocations: 0.6077 MB / 2.937 GB, free: 176.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007163/5.976, allocations: 491.3 kB / 2.938 GB, free: 175.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00125/5.977, allocations: 0.7786 MB / 2.939 GB, free: 175.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=127): time 5.861e-06/5.977, allocations: 0 / 2.939 GB, free: 175.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127): time 0.004195/5.981, allocations: 1.397 MB / 2.94 GB, free: 174.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.775e-05/5.982, allocations: 279.9 kB / 2.94 GB, free: 174.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/5.983, allocations: 0.5978 MB / 2.941 GB, free: 174 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/5.983, allocations: 28.05 kB / 2.941 GB, free: 173.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/5.984, allocations: 468.8 kB / 2.941 GB, free: 173.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004615/5.984, allocations: 412.8 kB / 2.942 GB, free: 173.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/5.984, allocations: 0 / 2.942 GB, free: 173.2 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002103/5.985, allocations: 396 kB / 2.942 GB, free: 172.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009707/5.986, allocations: 482 kB / 2.943 GB, free: 172.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008542/5.986, allocations: 0.6385 MB / 2.943 GB, free: 171.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/5.989, allocations: 0.7355 MB / 2.944 GB, free: 171 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/5.989, allocations: 0 / 2.944 GB, free: 171 MB / 0.6198 GB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00399/5.993, allocations: 1.544 MB / 2.945 GB, free: 169.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000328/5.993, allocations: 1.052 MB / 2.946 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/5.993, allocations: 6.656 kB / 2.946 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/5.993, allocations: 36.78 kB / 2.946 GB, free: 168.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002052/5.995, allocations: 343.5 kB / 2.947 GB, free: 167.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004096/5.996, allocations: 0.5484 MB / 2.947 GB, free: 167.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/5.998, allocations: 163 kB / 2.947 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/5.998, allocations: 59.94 kB / 2.948 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/5.998, allocations: 4 kB / 2.948 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003504/6.001, allocations: 1.41 MB / 2.949 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/6.001, allocations: 4 kB / 2.949 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/6.001, allocations: 8 kB / 2.949 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/6.003, allocations: 351.8 kB / 2.949 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/6.003, allocations: 4 kB / 2.949 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/6.005, allocations: 159 kB / 2.949 GB, free: 165.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/6.006, allocations: 55.95 kB / 2.949 GB, free: 165.1 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.0004362/6.006, allocations: 136.6 kB / 2.95 GB, free: 165 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/6.006, allocations: 98.78 kB / 2.95 GB, free: 164.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005459/6.012, allocations: 1.838 MB / 2.952 GB, free: 163.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/6.012, allocations: 12 kB / 2.952 GB, free: 163 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/6.012, allocations: 7.984 kB / 2.952 GB, free: 163 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/6.012, allocations: 7.984 kB / 2.952 GB, free: 163 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007054/6.019, allocations: 3.367 MB / 2.955 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/6.019, allocations: 8.125 kB / 2.955 GB, free: 159.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001851/6.021, allocations: 319.5 kB / 2.955 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001808/6.021, allocations: 32.84 kB / 2.955 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/6.021, allocations: 27.95 kB / 2.955 GB, free: 159.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009935/6.022, allocations: 1.217 MB / 2.956 GB, free: 157.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/6.022, allocations: 7.969 kB / 2.956 GB, free: 157.9 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003965/6.026, allocations: 1.638 MB / 2.958 GB, free: 156.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008726/6.027, allocations: 407.2 kB / 2.958 GB, free: 155.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003982/6.028, allocations: 11.84 kB / 2.958 GB, free: 155.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/6.029, allocations: 123.9 kB / 2.959 GB, free: 155.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/6.029, allocations: 73.19 kB / 2.959 GB, free: 155.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/6.03, allocations: 59.95 kB / 2.959 GB, free: 155.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.000808/6.03, allocations: 487.1 kB / 2.959 GB, free: 155.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003058/6.034, allocations: 0.7314 MB / 2.96 GB, free: 154.3 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.001919/6.035, allocations: 0.6296 MB / 2.96 GB, free: 153.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003497/6.039, allocations: 2.056 MB / 2.962 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/6.039, allocations: 4 kB / 2.962 GB, free: 151.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/6.04, allocations: 0.7562 MB / 2.963 GB, free: 151 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/6.041, allocations: 195.1 kB / 2.963 GB, free: 150.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/6.046, allocations: 1.922 MB / 2.965 GB, free: 148.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/6.048, allocations: 1.398 MB / 2.967 GB, free: 147.4 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/6.048, allocations: 0 / 2.967 GB, free: 147.4 MB / 0.6198 GB Notification: Performance of Templates: time 0.04986/6.098, allocations: 30.38 MB / 2.996 GB, free: 117.1 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)