Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.901/2.901, allocations: 287.5 MB / 302.4 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 173.2 kB / 371 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.6297 GB, free: 10.47 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 81 kB / 0.743 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004912/0.0004913, allocations: 11 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.041/7.275, allocations: 2.105 GB / 3.084 GB, free: 147.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004451/7.275, allocations: 100.1 kB / 3.084 GB, free: 147.7 MB / 0.948 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.3397/7.615, allocations: 69.74 MB / 3.152 GB, free: 84.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.986e-06/7.615, allocations: 0 / 3.152 GB, free: 84.34 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001415/7.615, allocations: 39.94 kB / 3.152 GB, free: 84.3 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.005567/7.621, allocations: 1.699 MB / 3.154 GB, free: 82.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/7.621, allocations: 12.02 kB / 3.154 GB, free: 82.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009483/7.63, allocations: 0.8098 MB / 3.154 GB, free: 81.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/7.633, allocations: 0.8921 MB / 3.155 GB, free: 80.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/7.633, allocations: 114.9 kB / 3.155 GB, free: 80.67 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000363/7.633, allocations: 139.9 kB / 3.156 GB, free: 80.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007319/7.641, allocations: 1.929 MB / 3.157 GB, free: 78.53 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/7.641, allocations: 0 / 3.157 GB, free: 78.53 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/7.641, allocations: 56 kB / 3.157 GB, free: 78.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.596e-05/7.641, allocations: 66.75 kB / 3.158 GB, free: 78.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01033/7.652, allocations: 2.356 MB / 3.16 GB, free: 76.05 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01624/7.668, allocations: 6.151 MB / 3.166 GB, free: 69.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007195/7.675, allocations: 1.569 MB / 3.167 GB, free: 68.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009657/7.676, allocations: 486.6 kB / 3.168 GB, free: 67.52 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003575/7.68, allocations: 0.9173 MB / 3.169 GB, free: 66.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 5.761e-06/7.68, allocations: 0 / 3.169 GB, free: 66.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.01005/7.69, allocations: 2.177 MB / 3.171 GB, free: 64.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/7.69, allocations: 355.1 kB / 3.171 GB, free: 63.95 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/7.692, allocations: 0.7745 MB / 3.172 GB, free: 63.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003475/7.692, allocations: 49.7 kB / 3.172 GB, free: 63.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005892/7.693, allocations: 0.6013 MB / 3.173 GB, free: 62.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/7.693, allocations: 421.8 kB / 3.173 GB, free: 62.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001714/7.693, allocations: 24 kB / 3.173 GB, free: 62.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.791e-05/7.694, allocations: 349.9 kB / 3.173 GB, free: 61.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002868/7.696, allocations: 0.5842 MB / 3.174 GB, free: 61.11 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/7.7, allocations: 0.7896 MB / 3.175 GB, free: 60.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/7.703, allocations: 0.6544 MB / 3.175 GB, free: 59.61 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/7.703, allocations: 4 kB / 3.175 GB, free: 59.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007123/7.71, allocations: 1.601 MB / 3.177 GB, free: 57.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002613/7.71, allocations: 1.055 MB / 3.178 GB, free: 56.85 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/7.71, allocations: 4 kB / 3.178 GB, free: 56.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002522/7.71, allocations: 32.84 kB / 3.178 GB, free: 56.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/7.714, allocations: 327.5 kB / 3.178 GB, free: 56.49 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004116/7.714, allocations: 0.5406 MB / 3.179 GB, free: 55.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/7.717, allocations: 187 kB / 3.179 GB, free: 55.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/7.717, allocations: 55.95 kB / 3.179 GB, free: 55.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/7.717, allocations: 7.938 kB / 3.179 GB, free: 55.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006577/7.724, allocations: 1.46 MB / 3.18 GB, free: 54.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/7.724, allocations: 4 kB / 3.18 GB, free: 54.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/7.724, allocations: 8 kB / 3.18 GB, free: 54.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003333/7.727, allocations: 335.7 kB / 3.181 GB, free: 53.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/7.727, allocations: 11.94 kB / 3.181 GB, free: 53.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/7.73, allocations: 186.8 kB / 3.181 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/7.73, allocations: 59.95 kB / 3.181 GB, free: 53.62 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.001176/7.731, allocations: 428.8 kB / 3.181 GB, free: 53.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/7.732, allocations: 118.5 kB / 3.182 GB, free: 53.08 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008345/7.74, allocations: 1.903 MB / 3.183 GB, free: 51.16 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/7.74, allocations: 19.94 kB / 3.183 GB, free: 51.14 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/7.74, allocations: 4 kB / 3.183 GB, free: 51.14 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/7.74, allocations: 7.969 kB / 3.183 GB, free: 51.13 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/7.751, allocations: 3.583 MB / 3.187 GB, free: 47.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/7.751, allocations: 0 / 3.187 GB, free: 47.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003127/7.754, allocations: 303.7 kB / 3.187 GB, free: 47.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/7.755, allocations: 28.78 kB / 3.187 GB, free: 47.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001856/7.755, allocations: 43.95 kB / 3.187 GB, free: 47.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/7.756, allocations: 1.28 MB / 3.189 GB, free: 45.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/7.756, allocations: 0 / 3.189 GB, free: 45.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007297/7.763, allocations: 1.719 MB / 3.19 GB, free: 43.94 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/7.765, allocations: 418.9 kB / 3.191 GB, free: 43.51 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/7.765, allocations: 31.95 kB / 3.191 GB, free: 43.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/7.768, allocations: 135.9 kB / 3.191 GB, free: 43.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/7.769, allocations: 81.19 kB / 3.191 GB, free: 43.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/7.769, allocations: 59.95 kB / 3.191 GB, free: 43.21 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001471/7.77, allocations: 0.633 MB / 3.192 GB, free: 42.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.012e-06/7.77, allocations: 0 / 3.192 GB, free: 42.57 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003622/7.774, allocations: 0.7396 MB / 3.192 GB, free: 41.82 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (141): * Single equations (assignments): 138 * 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.002097/7.776, allocations: 0.6145 MB / 3.193 GB, free: 41.38 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01106/7.787, allocations: 2.288 MB / 3.195 GB, free: 39.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/7.787, allocations: 0 / 3.195 GB, free: 39.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003489/7.791, allocations: 0.9122 MB / 3.196 GB, free: 38.17 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/7.793, allocations: 280.5 kB / 3.196 GB, free: 37.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007738/7.801, allocations: 3.307 MB / 3.199 GB, free: 34.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/7.802, allocations: 1.265 MB / 3.201 GB, free: 33.25 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004147/7.806, allocations: 0.5246 MB / 3.201 GB, free: 32.72 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008448/7.807, allocations: 151.3 kB / 3.201 GB, free: 32.57 MB / 0.948 GB Notification: Performance of SimCode: time 8.91e-07/7.807, allocations: 0 / 3.201 GB, free: 32.57 MB / 0.948 GB Notification: Performance of Templates: time 0.04725/7.854, allocations: 19.03 MB / 3.22 GB, free: 13.65 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)