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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.798/1.798, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001014/0.001014, allocations: 184.8 kB / 361.4 MB, free: 6.797 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.712/1.712, allocations: 205.2 MB / 0.62 GB, free: 11.61 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.000891/0.000891, allocations: 95.14 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.828e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7636/0.7636, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.612/6.375, allocations: 2.105 GB / 3.069 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/6.376, allocations: 99.88 kB / 3.069 GB, free: 262.2 MB / 0.9323 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.1914/6.567, allocations: 67.84 MB / 3.136 GB, free: 221.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.805e-06/6.567, allocations: 0.9375 kB / 3.136 GB, free: 221.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000119/6.567, allocations: 39.94 kB / 3.136 GB, free: 221.7 MB / 0.9323 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.003234/6.57, allocations: 1.546 MB / 3.137 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/6.571, allocations: 12.03 kB / 3.137 GB, free: 220.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005115/6.576, allocations: 0.809 MB / 3.138 GB, free: 219.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/6.577, allocations: 0.8893 MB / 3.139 GB, free: 218.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/6.577, allocations: 48 kB / 3.139 GB, free: 218.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/6.578, allocations: 80 kB / 3.139 GB, free: 218.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002792/6.58, allocations: 1.843 MB / 3.141 GB, free: 217.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/6.583, allocations: 1.507 MB / 3.142 GB, free: 216.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/6.583, allocations: 2.531 kB / 3.142 GB, free: 216.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/6.583, allocations: 8 kB / 3.142 GB, free: 216.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.422e-05/6.583, allocations: 70.5 kB / 3.142 GB, free: 216 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009141/6.592, allocations: 5.89 MB / 3.148 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/6.594, allocations: 1.218 MB / 3.149 GB, free: 210.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007616/6.595, allocations: 0.5736 MB / 3.15 GB, free: 210.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/6.595, allocations: 490 kB / 3.15 GB, free: 209.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/6.596, allocations: 0.7451 MB / 3.151 GB, free: 209.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=128): time 3.237e-06/6.596, allocations: 0 / 3.151 GB, free: 209.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=128): time 0.004549/6.601, allocations: 1.648 MB / 3.153 GB, free: 207.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/6.601, allocations: 359.3 kB / 3.153 GB, free: 207.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/6.602, allocations: 0.669 MB / 3.154 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/6.602, allocations: 25.7 kB / 3.154 GB, free: 206.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/6.603, allocations: 0.5975 MB / 3.154 GB, free: 206.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/6.603, allocations: 407.7 kB / 3.154 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/6.603, allocations: 0 / 3.154 GB, free: 206.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.987e-05/6.603, allocations: 347.7 kB / 3.155 GB, free: 205.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006482/6.604, allocations: 438.7 kB / 3.155 GB, free: 205.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/6.605, allocations: 0.6238 MB / 3.156 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/6.608, allocations: 0.9804 MB / 3.157 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/6.608, allocations: 4 kB / 3.157 GB, free: 204.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004369/6.612, allocations: 1.716 MB / 3.158 GB, free: 202.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002846/6.612, allocations: 1.064 MB / 3.16 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/6.612, allocations: 4 kB / 3.16 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001794/6.613, allocations: 28.84 kB / 3.16 GB, free: 201.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/6.614, allocations: 329.4 kB / 3.16 GB, free: 201.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002902/6.615, allocations: 0.5417 MB / 3.16 GB, free: 200.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/6.616, allocations: 151 kB / 3.161 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/6.616, allocations: 55.95 kB / 3.161 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/6.616, allocations: 7.984 kB / 3.161 GB, free: 200.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003847/6.62, allocations: 1.569 MB / 3.162 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/6.62, allocations: 7.953 kB / 3.162 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/6.62, allocations: 8 kB / 3.162 GB, free: 199 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/6.622, allocations: 331.8 kB / 3.162 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/6.622, allocations: 8 kB / 3.162 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/6.623, allocations: 147 kB / 3.163 GB, free: 198.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/6.623, allocations: 59.95 kB / 3.163 GB, free: 198.5 MB / 0.9323 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.0003206/6.623, allocations: 137.9 kB / 3.163 GB, free: 198.3 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004168/6.628, allocations: 1.648 MB / 3.164 GB, free: 196.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/6.628, allocations: 110.6 kB / 3.165 GB, free: 196.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/6.633, allocations: 2.01 MB / 3.166 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/6.633, allocations: 16.92 kB / 3.167 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/6.633, allocations: 3.984 kB / 3.167 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/6.633, allocations: 7.984 kB / 3.167 GB, free: 194.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007394/6.641, allocations: 3.669 MB / 3.17 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/6.641, allocations: 0 / 3.17 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/6.642, allocations: 307.7 kB / 3.17 GB, free: 190.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000134/6.642, allocations: 28.78 kB / 3.17 GB, free: 190.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/6.643, allocations: 34.83 kB / 3.17 GB, free: 190.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007357/6.643, allocations: 1.217 MB / 3.172 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/6.643, allocations: 3.938 kB / 3.172 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/6.648, allocations: 1.902 MB / 3.174 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008327/6.649, allocations: 407 kB / 3.174 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/6.649, allocations: 12 kB / 3.174 GB, free: 186.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/6.651, allocations: 107.9 kB / 3.174 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/6.651, allocations: 89.19 kB / 3.174 GB, free: 186.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/6.651, allocations: 55.95 kB / 3.174 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009751/6.652, allocations: 0.5343 MB / 3.175 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.41e-07/6.652, allocations: 0 / 3.175 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002749/6.655, allocations: 0.6767 MB / 3.175 GB, free: 185.2 MB / 0.9323 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.00618/6.661, allocations: 3.159 MB / 3.178 GB, free: 182.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003056/6.664, allocations: 1.831 MB / 3.18 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/6.664, allocations: 0 / 3.18 GB, free: 180.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009759/6.665, allocations: 0.7423 MB / 3.181 GB, free: 179.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/6.667, allocations: 257.7 kB / 3.181 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/6.672, allocations: 2.206 MB / 3.183 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/6.673, allocations: 1.266 MB / 3.185 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003509/6.677, allocations: 0.6073 MB / 3.185 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/6.678, allocations: 0.5578 MB / 3.186 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of SimCode: time 2.435e-06/6.678, allocations: 0 / 3.186 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06663/6.744, allocations: 29 MB / 3.214 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001912/6.745, allocations: 185.9 kB / 3.214 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/9.75, allocations: 4 kB / 3.214 GB, free: 145.5 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)