Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.338/2.338, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001394, allocations: 181.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.564/2.564, allocations: 205.4 MB / 0.5772 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009332/0.0009329, allocations: 100.1 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006779/0.000678, allocations: 16.59 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.223, allocations: 106.2 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.371/7.594, allocations: 2.223 GB / 3.123 GB, free: 239.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/7.595, allocations: 106.4 kB / 3.123 GB, free: 239.3 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1/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 7.0.1/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.2795/7.874, allocations: 69.64 MB / 3.191 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.328e-06/7.874, allocations: 0 / 3.191 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001434/7.874, allocations: 43 kB / 3.191 GB, free: 223.1 MB / 0.8855 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.006148/7.88, allocations: 1.698 MB / 3.193 GB, free: 222 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/7.88, allocations: 19.31 kB / 3.193 GB, free: 222 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0098/7.89, allocations: 0.8027 MB / 3.193 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/7.893, allocations: 0.886 MB / 3.194 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/7.893, allocations: 110.2 kB / 3.194 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/7.894, allocations: 137 kB / 3.195 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007172/7.901, allocations: 1.936 MB / 3.196 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.482e-05/7.901, allocations: 7.5 kB / 3.196 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002839/7.901, allocations: 65.19 kB / 3.197 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/7.902, allocations: 62.41 kB / 3.197 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/7.912, allocations: 2.358 MB / 3.199 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/7.928, allocations: 6.149 MB / 3.205 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007255/7.935, allocations: 1.571 MB / 3.206 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003341/7.939, allocations: 0.7449 MB / 3.207 GB, free: 216 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009987/7.94, allocations: 489.2 kB / 3.208 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003534/7.943, allocations: 0.9268 MB / 3.209 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=128): time 4.829e-06/7.943, allocations: 0 / 3.209 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128): time 0.0101/7.953, allocations: 2.17 MB / 3.211 GB, free: 214.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/7.953, allocations: 353 kB / 3.211 GB, free: 214.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/7.955, allocations: 0.8798 MB / 3.212 GB, free: 214 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002898/7.956, allocations: 49.05 kB / 3.212 GB, free: 213.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005445/7.956, allocations: 0.5908 MB / 3.212 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/7.957, allocations: 433.3 kB / 3.213 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/7.957, allocations: 23.09 kB / 3.213 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001045/7.957, allocations: 352.2 kB / 3.213 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/7.96, allocations: 0.5811 MB / 3.214 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/7.963, allocations: 0.7926 MB / 3.215 GB, free: 212.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/7.966, allocations: 0.6537 MB / 3.215 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/7.966, allocations: 3.875 kB / 3.215 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.007849/7.974, allocations: 1.589 MB / 3.217 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/7.974, allocations: 165.3 kB / 3.217 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/7.974, allocations: 7.875 kB / 3.217 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/7.974, allocations: 43.45 kB / 3.217 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/7.978, allocations: 324.3 kB / 3.217 GB, free: 211.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/7.979, allocations: 1.292 MB / 3.219 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/7.982, allocations: 187.1 kB / 3.219 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/7.983, allocations: 57.64 kB / 3.219 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/7.983, allocations: 3.75 kB / 3.219 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006809/7.989, allocations: 1.46 MB / 3.22 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/7.989, allocations: 4 kB / 3.22 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/7.989, allocations: 11.94 kB / 3.22 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/7.993, allocations: 330.4 kB / 3.221 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.011e-05/7.993, allocations: 7.938 kB / 3.221 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/7.996, allocations: 184.7 kB / 3.221 GB, free: 209.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/7.996, allocations: 54.83 kB / 3.221 GB, free: 209.6 MB / 0.8855 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.00123/7.997, allocations: 429.9 kB / 3.221 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/7.997, allocations: 118.6 kB / 3.221 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008573/8.006, allocations: 1.907 MB / 3.223 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/8.006, allocations: 16 kB / 3.223 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/8.006, allocations: 0 / 3.223 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/8.006, allocations: 3.984 kB / 3.223 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/8.017, allocations: 3.73 MB / 3.227 GB, free: 205 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/8.018, allocations: 3.938 kB / 3.227 GB, free: 205 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003137/8.021, allocations: 310.2 kB / 3.227 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001767/8.021, allocations: 31.22 kB / 3.227 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/8.021, allocations: 36.59 kB / 3.227 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009834/8.022, allocations: 1.279 MB / 3.228 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/8.022, allocations: 0 / 3.228 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00816/8.03, allocations: 1.716 MB / 3.23 GB, free: 202 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/8.032, allocations: 420.8 kB / 3.231 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005495/8.032, allocations: 31.42 kB / 3.231 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002869/8.035, allocations: 130.5 kB / 3.231 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003892/8.036, allocations: 91.48 kB / 3.231 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/8.036, allocations: 51.22 kB / 3.231 GB, free: 201.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001409/8.037, allocations: 0.6369 MB / 3.231 GB, free: 201 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.21e-07/8.037, allocations: 0 / 3.231 GB, free: 201 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003183/8.041, allocations: 0.7343 MB / 3.232 GB, free: 200.3 MB / 0.8855 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.001972/8.043, allocations: 0.6185 MB / 3.233 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009926/8.053, allocations: 2.39 MB / 3.235 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/8.053, allocations: 4.312 kB / 3.235 GB, free: 197.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003412/8.056, allocations: 0.9081 MB / 3.236 GB, free: 196.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/8.059, allocations: 306 kB / 3.236 GB, free: 196.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008266/8.067, allocations: 3.328 MB / 3.24 GB, free: 193 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008711/8.068, allocations: 1.235 MB / 3.241 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004306/8.072, allocations: 0.5247 MB / 3.241 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/8.073, allocations: 151.3 kB / 3.241 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.603e-06/8.073, allocations: 0 / 3.241 GB, free: 191.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.04715/8.121, allocations: 19.19 MB / 3.26 GB, free: 172 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)