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.674/1.674, allocations: 288.2 MB / 303.2 MB, free: 8.195 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.001424/0.001424, allocations: 188 kB / 371.8 MB, free: 10.29 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.463/1.463, allocations: 205.4 MB / 0.6305 GB, free: 10.04 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.0008807/0.0008809, allocations: 93.11 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005778/0.0005779, allocations: 11.09 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.266, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.249/6.515, allocations: 2.105 GB / 3.085 GB, free: 160.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004042/6.515, allocations: 98.52 kB / 3.085 GB, free: 160.5 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.1919/6.707, allocations: 68.66 MB / 3.152 GB, free: 98.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.096e-06/6.707, allocations: 0 / 3.152 GB, free: 98.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001044/6.707, allocations: 39.94 kB / 3.152 GB, free: 98.95 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.00335/6.711, allocations: 1.707 MB / 3.154 GB, free: 97.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/6.711, allocations: 12.02 kB / 3.154 GB, free: 97.16 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002579/6.711, allocations: 219.3 kB / 3.154 GB, free: 96.94 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005202/6.716, allocations: 0.8098 MB / 3.155 GB, free: 96.12 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/6.718, allocations: 0.896 MB / 3.156 GB, free: 95.19 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/6.718, allocations: 102.9 kB / 3.156 GB, free: 95.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/6.718, allocations: 144 kB / 3.156 GB, free: 94.95 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/6.722, allocations: 1.929 MB / 3.158 GB, free: 92.94 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/6.722, allocations: 0 / 3.158 GB, free: 92.94 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001511/6.722, allocations: 60 kB / 3.158 GB, free: 92.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-05/6.723, allocations: 66.75 kB / 3.158 GB, free: 92.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004924/6.727, allocations: 2.352 MB / 3.16 GB, free: 90.46 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/6.738, allocations: 6.156 MB / 3.166 GB, free: 84.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003795/6.742, allocations: 1.571 MB / 3.168 GB, free: 82.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006967/6.742, allocations: 486.6 kB / 3.168 GB, free: 81.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001878/6.744, allocations: 0.9173 MB / 3.169 GB, free: 80.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.188e-06/6.744, allocations: 0 / 3.169 GB, free: 80.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.005361/6.75, allocations: 2.173 MB / 3.171 GB, free: 78.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/6.75, allocations: 359.1 kB / 3.172 GB, free: 78.35 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/6.751, allocations: 0.7745 MB / 3.172 GB, free: 77.55 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/6.751, allocations: 49.7 kB / 3.172 GB, free: 77.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/6.752, allocations: 0.5973 MB / 3.173 GB, free: 76.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/6.752, allocations: 421.8 kB / 3.173 GB, free: 76.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/6.752, allocations: 28 kB / 3.173 GB, free: 76.45 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/6.752, allocations: 357.9 kB / 3.174 GB, free: 76.09 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/6.754, allocations: 0.5842 MB / 3.174 GB, free: 75.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/6.755, allocations: 0.7857 MB / 3.175 GB, free: 74.65 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/6.757, allocations: 0.6544 MB / 3.176 GB, free: 74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/6.757, allocations: 4 kB / 3.176 GB, free: 74 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.003529/6.76, allocations: 1.601 MB / 3.177 GB, free: 72.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003086/6.761, allocations: 1.063 MB / 3.178 GB, free: 71.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/6.761, allocations: 4 kB / 3.178 GB, free: 71.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002095/6.761, allocations: 28.84 kB / 3.178 GB, free: 71.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/6.762, allocations: 327.6 kB / 3.179 GB, free: 70.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002988/6.763, allocations: 0.5406 MB / 3.179 GB, free: 70.32 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/6.764, allocations: 182.9 kB / 3.179 GB, free: 70.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/6.764, allocations: 59.95 kB / 3.179 GB, free: 70.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/6.764, allocations: 4 kB / 3.179 GB, free: 70.08 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003296/6.768, allocations: 1.463 MB / 3.181 GB, free: 68.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/6.768, allocations: 4 kB / 3.181 GB, free: 68.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/6.768, allocations: 8 kB / 3.181 GB, free: 68.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/6.769, allocations: 331.7 kB / 3.181 GB, free: 68.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/6.769, allocations: 11.94 kB / 3.181 GB, free: 68.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/6.771, allocations: 182.8 kB / 3.181 GB, free: 68.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/6.771, allocations: 59.95 kB / 3.181 GB, free: 68.03 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.001007/6.772, allocations: 424.8 kB / 3.182 GB, free: 67.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/6.772, allocations: 130.4 kB / 3.182 GB, free: 67.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/6.777, allocations: 1.895 MB / 3.184 GB, free: 65.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/6.777, allocations: 16 kB / 3.184 GB, free: 65.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/6.777, allocations: 0 / 3.184 GB, free: 65.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/6.777, allocations: 11.97 kB / 3.184 GB, free: 65.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006339/6.783, allocations: 3.579 MB / 3.187 GB, free: 61.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/6.783, allocations: 4.062 kB / 3.187 GB, free: 61.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/6.785, allocations: 307.5 kB / 3.188 GB, free: 61.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/6.785, allocations: 24.84 kB / 3.188 GB, free: 61.56 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-05/6.785, allocations: 43.95 kB / 3.188 GB, free: 61.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007423/6.786, allocations: 1.284 MB / 3.189 GB, free: 60.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/6.786, allocations: 0 / 3.189 GB, free: 60.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/6.789, allocations: 1.719 MB / 3.191 GB, free: 58.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007187/6.79, allocations: 414.9 kB / 3.191 GB, free: 57.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/6.79, allocations: 27.95 kB / 3.191 GB, free: 57.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/6.791, allocations: 135.9 kB / 3.191 GB, free: 57.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/6.792, allocations: 89.19 kB / 3.191 GB, free: 57.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/6.792, allocations: 55.95 kB / 3.191 GB, free: 57.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008572/6.793, allocations: 0.633 MB / 3.192 GB, free: 56.97 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/6.793, allocations: 96 / 3.192 GB, free: 56.97 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001944/6.795, allocations: 0.7396 MB / 3.193 GB, free: 56.23 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.005001/6.8, allocations: 2.927 MB / 3.196 GB, free: 53.43 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00519/6.805, allocations: 2.284 MB / 3.198 GB, free: 51.14 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/6.805, allocations: 0 / 3.198 GB, free: 51.14 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/6.806, allocations: 0.9122 MB / 3.199 GB, free: 50.22 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/6.808, allocations: 288.5 kB / 3.199 GB, free: 49.94 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/6.821, allocations: 9.702 MB / 3.208 GB, free: 39.93 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/6.822, allocations: 1.265 MB / 3.21 GB, free: 38.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002419/6.824, allocations: 0.5209 MB / 3.21 GB, free: 38.11 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008517/6.825, allocations: 0.5773 MB / 3.211 GB, free: 37.53 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/6.825, allocations: 0 / 3.211 GB, free: 37.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05395/6.879, allocations: 29.57 MB / 3.24 GB, free: 8.207 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/6.88, allocations: 262.8 kB / 3.24 GB, free: 7.848 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.532/10.41, allocations: 7.938 kB / 3.24 GB, free: 7.84 MB / 0.948 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)