Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 288.4 MB / 304.3 MB, free: 8.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009929/0.0009929, allocations: 196.4 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007964/0.0007966, allocations: 94.31 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004055/0.0004055, allocations: 12.06 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2257, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.347/5.572, allocations: 2.106 GB / 3.086 GB, free: 204.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/5.573, allocations: 103.9 kB / 3.086 GB, free: 204 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/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 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39: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.1465/5.719, allocations: 69.65 MB / 3.154 GB, free: 134 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.987e-06/5.719, allocations: 3.938 kB / 3.154 GB, free: 134 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.292e-05/5.719, allocations: 36 kB / 3.154 GB, free: 134 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.002957/5.722, allocations: 1.687 MB / 3.156 GB, free: 132.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/5.722, allocations: 8.031 kB / 3.156 GB, free: 132.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004813/5.727, allocations: 0.8065 MB / 3.157 GB, free: 131.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/5.729, allocations: 0.92 MB / 3.158 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.008e-05/5.729, allocations: 107.2 kB / 3.158 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/5.729, allocations: 144.4 kB / 3.158 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/5.733, allocations: 1.934 MB / 3.16 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/5.733, allocations: 8.062 kB / 3.16 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001482/5.733, allocations: 71.92 kB / 3.16 GB, free: 128.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.49e-05/5.733, allocations: 66.75 kB / 3.16 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004957/5.738, allocations: 2.352 MB / 3.162 GB, free: 125.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008988/5.747, allocations: 6.148 MB / 3.168 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/5.751, allocations: 1.572 MB / 3.17 GB, free: 117.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/5.752, allocations: 0.7413 MB / 3.171 GB, free: 117 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/5.753, allocations: 498.3 kB / 3.171 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001889/5.755, allocations: 0.9171 MB / 3.172 GB, free: 115.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/5.755, allocations: 0 / 3.172 GB, free: 115.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.00599/5.761, allocations: 2.172 MB / 3.174 GB, free: 113.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/5.761, allocations: 359.1 kB / 3.174 GB, free: 112.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/5.763, allocations: 0.8729 MB / 3.175 GB, free: 111.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000155/5.763, allocations: 53.7 kB / 3.175 GB, free: 111.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007064/5.764, allocations: 0.5858 MB / 3.176 GB, free: 111.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/5.764, allocations: 425.7 kB / 3.176 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/5.764, allocations: 32 kB / 3.176 GB, free: 110.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.764, allocations: 345.9 kB / 3.177 GB, free: 110.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/5.766, allocations: 0.5881 MB / 3.177 GB, free: 109.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/5.768, allocations: 0.7929 MB / 3.178 GB, free: 109 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/5.771, allocations: 1.348 MB / 3.179 GB, free: 107.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/5.771, allocations: 0 / 3.179 GB, free: 107.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004039/5.775, allocations: 1.594 MB / 3.181 GB, free: 106.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/5.775, allocations: 171.9 kB / 3.181 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/5.776, allocations: 7.938 kB / 3.181 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/5.776, allocations: 28.83 kB / 3.181 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/5.777, allocations: 331.5 kB / 3.181 GB, free: 105.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/5.778, allocations: 1.296 MB / 3.183 GB, free: 104.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/5.78, allocations: 191 kB / 3.183 GB, free: 103.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/5.78, allocations: 55.95 kB / 3.183 GB, free: 103.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/5.78, allocations: 4 kB / 3.183 GB, free: 103.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003508/5.784, allocations: 1.456 MB / 3.184 GB, free: 102.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/5.784, allocations: 7.938 kB / 3.184 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/5.784, allocations: 8 kB / 3.184 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/5.785, allocations: 323.8 kB / 3.185 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/5.785, allocations: 15.88 kB / 3.185 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/5.787, allocations: 182.9 kB / 3.185 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/5.787, allocations: 51.95 kB / 3.185 GB, free: 101.8 MB / 0.948 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 146 * 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: 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.0008787/5.788, allocations: 438 kB / 3.185 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/5.788, allocations: 122.6 kB / 3.185 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/5.793, allocations: 1.892 MB / 3.187 GB, free: 99.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/5.793, allocations: 12 kB / 3.187 GB, free: 99.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/5.793, allocations: 0 / 3.187 GB, free: 99.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/5.793, allocations: 7.984 kB / 3.187 GB, free: 99.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/5.799, allocations: 3.72 MB / 3.191 GB, free: 95.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/5.799, allocations: 4 kB / 3.191 GB, free: 95.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/5.801, allocations: 307.6 kB / 3.191 GB, free: 95.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001304/5.801, allocations: 32.84 kB / 3.191 GB, free: 95.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/5.801, allocations: 35.97 kB / 3.191 GB, free: 95.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007161/5.802, allocations: 1.288 MB / 3.193 GB, free: 93.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/5.802, allocations: 4.031 kB / 3.193 GB, free: 93.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/5.806, allocations: 1.708 MB / 3.194 GB, free: 91.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007148/5.806, allocations: 422.9 kB / 3.195 GB, free: 91.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003512/5.807, allocations: 28 kB / 3.195 GB, free: 91.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/5.808, allocations: 131.9 kB / 3.195 GB, free: 91.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/5.808, allocations: 93.17 kB / 3.195 GB, free: 91.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/5.809, allocations: 47.97 kB / 3.195 GB, free: 91.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001231/5.81, allocations: 0.6447 MB / 3.196 GB, free: 90.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/5.81, allocations: 0 / 3.196 GB, free: 90.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00263/5.812, allocations: 0.7279 MB / 3.196 GB, free: 89.82 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * 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.001876/5.814, allocations: 0.6314 MB / 3.197 GB, free: 89.35 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00587/5.82, allocations: 2.384 MB / 3.199 GB, free: 86.96 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/5.82, allocations: 0 / 3.199 GB, free: 86.96 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/5.822, allocations: 0.9007 MB / 3.2 GB, free: 86.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/5.824, allocations: 306 kB / 3.2 GB, free: 85.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005677/5.83, allocations: 3.336 MB / 3.204 GB, free: 82.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000889/5.831, allocations: 1.234 MB / 3.205 GB, free: 81.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00285/5.834, allocations: 0.5247 MB / 3.205 GB, free: 80.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005816/5.834, allocations: 147.3 kB / 3.205 GB, free: 80.43 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/5.834, allocations: 0 / 3.205 GB, free: 80.43 MB / 0.948 GB Notification: Performance of Templates: time 0.03107/5.865, allocations: 19.4 MB / 3.224 GB, free: 61.12 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)