Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.332/1.332, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001522/0.001522, allocations: 178.8 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008958/0.0008961, allocations: 88.06 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004348, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.931/7.227, allocations: 2.224 GB / 3.124 GB, free: 234.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004041/7.227, allocations: 103.3 kB / 3.124 GB, free: 234.6 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.1711/7.398, allocations: 68.68 MB / 3.191 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.529e-06/7.398, allocations: 3.469 kB / 3.191 GB, free: 216.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002197/7.398, allocations: 31.12 kB / 3.191 GB, free: 216.6 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.006276/7.405, allocations: 1.708 MB / 3.193 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/7.405, allocations: 11.66 kB / 3.193 GB, free: 215.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009684/7.406, allocations: 221.7 kB / 3.193 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00592/7.412, allocations: 0.8024 MB / 3.194 GB, free: 215 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/7.415, allocations: 0.8905 MB / 3.194 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/7.415, allocations: 105.3 kB / 3.195 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006524/7.416, allocations: 134.4 kB / 3.195 GB, free: 214.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006214/7.422, allocations: 1.931 MB / 3.197 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/7.422, allocations: 0 / 3.197 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/7.422, allocations: 60.12 kB / 3.197 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.851e-05/7.423, allocations: 67.97 kB / 3.197 GB, free: 213.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007572/7.43, allocations: 2.363 MB / 3.199 GB, free: 213.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01608/7.446, allocations: 6.141 MB / 3.205 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005938/7.452, allocations: 1.576 MB / 3.206 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000928/7.453, allocations: 489.5 kB / 3.207 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002982/7.456, allocations: 0.923 MB / 3.208 GB, free: 208 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=128): time 4.849e-06/7.456, allocations: 0 / 3.208 GB, free: 208 MB / 0.8855 GB Notification: Performance of matching and sorting (n=128): time 0.008471/7.465, allocations: 2.176 MB / 3.21 GB, free: 206.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/7.465, allocations: 355 kB / 3.21 GB, free: 206 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/7.467, allocations: 0.7731 MB / 3.211 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/7.467, allocations: 51.58 kB / 3.211 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006803/7.468, allocations: 0.5905 MB / 3.212 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004927/7.468, allocations: 432.6 kB / 3.212 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/7.469, allocations: 25.06 kB / 3.212 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001359/7.469, allocations: 351.8 kB / 3.212 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/7.471, allocations: 0.5861 MB / 3.213 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/7.474, allocations: 0.7849 MB / 3.214 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/7.476, allocations: 0.6604 MB / 3.214 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/7.476, allocations: 3.938 kB / 3.214 GB, free: 202.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00599/7.482, allocations: 1.596 MB / 3.216 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003274/7.482, allocations: 1.051 MB / 3.217 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/7.482, allocations: 4 kB / 3.217 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002675/7.483, allocations: 36.77 kB / 3.217 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/7.485, allocations: 330.6 kB / 3.217 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004418/7.486, allocations: 0.5439 MB / 3.218 GB, free: 199.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/7.488, allocations: 185.1 kB / 3.218 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/7.488, allocations: 55.52 kB / 3.218 GB, free: 199.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/7.489, allocations: 4 kB / 3.218 GB, free: 199.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005566/7.494, allocations: 1.462 MB / 3.22 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/7.494, allocations: 7.938 kB / 3.22 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/7.494, allocations: 8 kB / 3.22 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/7.497, allocations: 333.8 kB / 3.22 GB, free: 198 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.502e-05/7.497, allocations: 11.98 kB / 3.22 GB, free: 198 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002305/7.499, allocations: 181.1 kB / 3.22 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/7.499, allocations: 58.58 kB / 3.22 GB, free: 197.8 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.001465/7.501, allocations: 428.6 kB / 3.221 GB, free: 197.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005538/7.501, allocations: 122.6 kB / 3.221 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/7.509, allocations: 1.902 MB / 3.223 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/7.509, allocations: 16 kB / 3.223 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/7.509, allocations: 4 kB / 3.223 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/7.509, allocations: 7.969 kB / 3.223 GB, free: 196 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/7.52, allocations: 3.579 MB / 3.226 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/7.52, allocations: 3.984 kB / 3.226 GB, free: 193.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/7.523, allocations: 298.5 kB / 3.226 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/7.523, allocations: 28.47 kB / 3.226 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/7.523, allocations: 38.16 kB / 3.226 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/7.524, allocations: 1.28 MB / 3.228 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/7.524, allocations: 0 / 3.228 GB, free: 191.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/7.531, allocations: 1.722 MB / 3.229 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/7.532, allocations: 422.7 kB / 3.23 GB, free: 190.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/7.532, allocations: 30.02 kB / 3.23 GB, free: 190 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/7.534, allocations: 130.5 kB / 3.23 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/7.535, allocations: 90.94 kB / 3.23 GB, free: 189.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/7.535, allocations: 59.33 kB / 3.23 GB, free: 189.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001505/7.536, allocations: 0.6391 MB / 3.231 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.31e-07/7.536, allocations: 0 / 3.231 GB, free: 189.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003458/7.54, allocations: 0.7366 MB / 3.231 GB, free: 188.7 MB / 0.8855 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.009698/7.549, allocations: 2.909 MB / 3.234 GB, free: 186.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.009611/7.559, allocations: 2.295 MB / 3.236 GB, free: 184.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.485e-05/7.559, allocations: 4 kB / 3.236 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.003083/7.562, allocations: 0.9044 MB / 3.237 GB, free: 183.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/7.565, allocations: 295.1 kB / 3.238 GB, free: 183.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/7.59, allocations: 9.705 MB / 3.247 GB, free: 173.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/7.591, allocations: 1.265 MB / 3.248 GB, free: 171.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004582/7.595, allocations: 0.517 MB / 3.249 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/7.597, allocations: 0.5812 MB / 3.249 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.174e-06/7.597, allocations: 0 / 3.249 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08644/7.683, allocations: 29.58 MB / 3.278 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002994/7.684, allocations: 258.2 kB / 3.279 GB, free: 141.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/11.12, allocations: 4 kB / 3.279 GB, free: 141.1 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_DC_Sources_Examples_PVSimple.fmu > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)