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.575/1.575, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.00106/0.00106, allocations: 176.9 kB / 361.4 MB, free: 6.879 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.472/1.472, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 92.75 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.312e-05/2.314e-05, allocations: 4 kB / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7275/0.7275, allocations: 115.3 MB / 0.9644 GB, free: 78.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/5.055, allocations: 2.105 GB / 3.069 GB, free: 55.53 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/5.056, allocations: 100.8 kB / 3.069 GB, free: 55.43 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.6109/5.666, allocations: 68.06 MB / 3.136 GB, free: 319.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/5.667, allocations: 0 / 3.136 GB, free: 319.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.535e-05/5.667, allocations: 40.69 kB / 3.136 GB, free: 319.6 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.002797/5.669, allocations: 1.553 MB / 3.137 GB, free: 318.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/5.669, allocations: 8.406 kB / 3.137 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005426/5.675, allocations: 0.8068 MB / 3.138 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/5.677, allocations: 0.888 MB / 3.139 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/5.677, allocations: 46.5 kB / 3.139 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/5.677, allocations: 86.61 kB / 3.139 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003206/5.68, allocations: 1.841 MB / 3.141 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002532/5.683, allocations: 1.507 MB / 3.142 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/5.683, allocations: 6.469 kB / 3.142 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/5.683, allocations: 6.422 kB / 3.142 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-05/5.683, allocations: 64.33 kB / 3.142 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/5.693, allocations: 5.897 MB / 3.148 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/5.695, allocations: 1.22 MB / 3.149 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/5.696, allocations: 0.5759 MB / 3.15 GB, free: 316.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006233/5.697, allocations: 490 kB / 3.15 GB, free: 315.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/5.698, allocations: 0.743 MB / 3.151 GB, free: 315.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 3.607e-06/5.698, allocations: 0 / 3.151 GB, free: 315.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.00506/5.703, allocations: 1.642 MB / 3.153 GB, free: 315.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/5.703, allocations: 357.4 kB / 3.153 GB, free: 314.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/5.704, allocations: 0.6697 MB / 3.154 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/5.705, allocations: 27.05 kB / 3.154 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/5.705, allocations: 0.5971 MB / 3.154 GB, free: 314.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000318/5.705, allocations: 412.6 kB / 3.155 GB, free: 314.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.743e-05/5.705, allocations: 0 / 3.155 GB, free: 314.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001105/5.706, allocations: 351.3 kB / 3.155 GB, free: 313.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006892/5.706, allocations: 436.9 kB / 3.155 GB, free: 313.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/5.707, allocations: 0.6283 MB / 3.156 GB, free: 313.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/5.71, allocations: 0.9802 MB / 3.157 GB, free: 313.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/5.71, allocations: 0.9688 kB / 3.157 GB, free: 313.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004947/5.715, allocations: 1.72 MB / 3.159 GB, free: 313.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/5.716, allocations: 1.055 MB / 3.16 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/5.716, allocations: 3.734 kB / 3.16 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/5.716, allocations: 27.72 kB / 3.16 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/5.718, allocations: 328.7 kB / 3.16 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002656/5.718, allocations: 0.5404 MB / 3.161 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/5.719, allocations: 151.5 kB / 3.161 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/5.719, allocations: 57.19 kB / 3.161 GB, free: 311.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/5.72, allocations: 4.469 kB / 3.161 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004194/5.724, allocations: 1.574 MB / 3.162 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/5.724, allocations: 3.25 kB / 3.162 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/5.724, allocations: 7.781 kB / 3.162 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/5.725, allocations: 333.8 kB / 3.163 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/5.725, allocations: 19.52 kB / 3.163 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/5.727, allocations: 143.5 kB / 3.163 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/5.727, allocations: 57.14 kB / 3.163 GB, free: 311.2 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 () * 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.0003519/5.727, allocations: 125.8 kB / 3.163 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/5.728, allocations: 114.9 kB / 3.163 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/5.733, allocations: 2.012 MB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/5.733, allocations: 18.45 kB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/5.733, allocations: 1.375 kB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/5.733, allocations: 9.203 kB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006822/5.74, allocations: 3.665 MB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/5.74, allocations: 6.047 kB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/5.741, allocations: 300.1 kB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/5.742, allocations: 28.36 kB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.286e-05/5.742, allocations: 35.14 kB / 3.169 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006267/5.742, allocations: 1.227 MB / 3.17 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/5.742, allocations: 1.438 kB / 3.17 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/5.747, allocations: 1.895 MB / 3.172 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000564/5.747, allocations: 410.2 kB / 3.172 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/5.747, allocations: 4.188 kB / 3.172 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/5.749, allocations: 113.5 kB / 3.173 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/5.749, allocations: 95.64 kB / 3.173 GB, free: 306.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/5.749, allocations: 55.19 kB / 3.173 GB, free: 306.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007274/5.75, allocations: 0.532 MB / 3.173 GB, free: 306.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/5.75, allocations: 2.062 kB / 3.173 GB, free: 306.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002156/5.752, allocations: 0.6764 MB / 3.174 GB, free: 305.9 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) * 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.001217/5.753, allocations: 0.5333 MB / 3.174 GB, free: 305.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002933/5.756, allocations: 1.826 MB / 3.176 GB, free: 305.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/5.756, allocations: 1.312 kB / 3.176 GB, free: 305.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009851/5.757, allocations: 0.7431 MB / 3.177 GB, free: 304.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/5.758, allocations: 264.2 kB / 3.177 GB, free: 304.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/5.762, allocations: 1.932 MB / 3.179 GB, free: 303.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007575/5.763, allocations: 1.265 MB / 3.18 GB, free: 303.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00281/5.766, allocations: 0.608 MB / 3.181 GB, free: 302.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/5.766, allocations: 126.6 kB / 3.181 GB, free: 302.9 MB / 0.948 GB Notification: Performance of SimCode: time 7.62e-07/5.766, allocations: 3.172 kB / 3.181 GB, free: 302.9 MB / 0.948 GB Notification: Performance of Templates: time 0.02723/5.793, allocations: 19.27 MB / 3.2 GB, free: 301.8 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)