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.701/1.701, allocations: 285.4 MB / 298 MB, free: 5.922 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.001216/0.001216, allocations: 176.9 kB / 366.4 MB, free: 2.066 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.868/1.868, allocations: 205.1 MB / 0.6248 GB, free: 7.703 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.0008634/0.0008632, allocations: 97.34 kB / 0.738 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.048e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7913/0.7914, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.993/5.785, allocations: 2.105 GB / 3.076 GB, free: 32.82 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/5.785, allocations: 96.78 kB / 3.076 GB, free: 32.73 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.8052/6.59, allocations: 68.26 MB / 3.143 GB, free: 325 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.384e-06/6.59, allocations: 0.875 kB / 3.143 GB, free: 325 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001173/6.59, allocations: 39.53 kB / 3.143 GB, free: 325 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.003607/6.594, allocations: 1.558 MB / 3.145 GB, free: 324.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/6.594, allocations: 8.844 kB / 3.145 GB, free: 324.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003017/6.594, allocations: 208.9 kB / 3.145 GB, free: 324.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00589/6.6, allocations: 0.799 MB / 3.146 GB, free: 324 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/6.603, allocations: 0.8994 MB / 3.147 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/6.603, allocations: 104.7 kB / 3.147 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/6.603, allocations: 137.7 kB / 3.147 GB, free: 323.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/6.607, allocations: 1.707 MB / 3.148 GB, free: 323 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/6.607, allocations: 0 / 3.148 GB, free: 323 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/6.607, allocations: 68.77 kB / 3.149 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/6.608, allocations: 61.14 kB / 3.149 GB, free: 322.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/6.611, allocations: 1.942 MB / 3.15 GB, free: 322.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/6.623, allocations: 6.148 MB / 3.156 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/6.626, allocations: 1.3 MB / 3.158 GB, free: 318.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/6.627, allocations: 0.6087 MB / 3.158 GB, free: 318 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/6.627, allocations: 490.9 kB / 3.159 GB, free: 317.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/6.629, allocations: 0.7874 MB / 3.16 GB, free: 317.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 5.46e-06/6.629, allocations: 0 / 3.16 GB, free: 317.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.002977/6.632, allocations: 1.233 MB / 3.161 GB, free: 316.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/6.632, allocations: 354.2 kB / 3.161 GB, free: 316.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/6.633, allocations: 0.766 MB / 3.162 GB, free: 315.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/6.634, allocations: 47.39 kB / 3.162 GB, free: 315.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000643/6.634, allocations: 0.5971 MB / 3.162 GB, free: 315.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004262/6.635, allocations: 424.1 kB / 3.163 GB, free: 315.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/6.635, allocations: 21.28 kB / 3.163 GB, free: 315 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001325/6.635, allocations: 352.7 kB / 3.163 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009/6.636, allocations: 463.4 kB / 3.164 GB, free: 314.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/6.637, allocations: 0.6591 MB / 3.164 GB, free: 314.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/6.638, allocations: 0.5233 MB / 3.165 GB, free: 313.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/6.638, allocations: 1.469 kB / 3.165 GB, free: 313.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002774/6.641, allocations: 1.333 MB / 3.166 GB, free: 313.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002798/6.641, allocations: 1.061 MB / 3.167 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/6.641, allocations: 2.25 kB / 3.167 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/6.641, allocations: 31.08 kB / 3.167 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/6.643, allocations: 332.1 kB / 3.168 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003405/6.643, allocations: 0.535 MB / 3.168 GB, free: 311.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/6.645, allocations: 185.3 kB / 3.168 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/6.645, allocations: 61.53 kB / 3.168 GB, free: 311.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/6.645, allocations: 3.938 kB / 3.168 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001997/6.647, allocations: 1.196 MB / 3.169 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/6.647, allocations: 4.062 kB / 3.169 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/6.647, allocations: 11.78 kB / 3.169 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/6.649, allocations: 333.5 kB / 3.17 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/6.649, allocations: 9.375 kB / 3.17 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/6.651, allocations: 179.5 kB / 3.17 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/6.651, allocations: 58.94 kB / 3.17 GB, free: 311.1 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.0003922/6.651, allocations: 178.8 kB / 3.17 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/6.651, allocations: 121.9 kB / 3.17 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/6.655, allocations: 1.644 MB / 3.172 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/6.655, allocations: 18.22 kB / 3.172 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/6.655, allocations: 0 / 3.172 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/6.655, allocations: 10.81 kB / 3.172 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005433/6.66, allocations: 3.47 MB / 3.175 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/6.66, allocations: 0 / 3.175 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001574/6.662, allocations: 306.1 kB / 3.176 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/6.662, allocations: 32.69 kB / 3.176 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/6.662, allocations: 44.95 kB / 3.176 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007648/6.663, allocations: 1.271 MB / 3.177 GB, free: 307.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/6.663, allocations: 7.531 kB / 3.177 GB, free: 307.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/6.665, allocations: 1.496 MB / 3.178 GB, free: 306.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007171/6.666, allocations: 417.9 kB / 3.179 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/6.666, allocations: 32.62 kB / 3.179 GB, free: 306 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/6.667, allocations: 136.7 kB / 3.179 GB, free: 306 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/6.668, allocations: 88.59 kB / 3.179 GB, free: 306 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/6.668, allocations: 51.34 kB / 3.179 GB, free: 306 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009055/6.669, allocations: 0.6255 MB / 3.18 GB, free: 305.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/6.669, allocations: 0 / 3.18 GB, free: 305.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002126/6.671, allocations: 0.7323 MB / 3.18 GB, free: 305.5 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.003763/6.675, allocations: 2.796 MB / 3.183 GB, free: 303.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003352/6.678, allocations: 1.923 MB / 3.185 GB, free: 303.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/6.678, allocations: 3.906 kB / 3.185 GB, free: 303.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/6.679, allocations: 0.7735 MB / 3.186 GB, free: 302.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/6.681, allocations: 300.9 kB / 3.186 GB, free: 302.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/6.686, allocations: 2.331 MB / 3.188 GB, free: 301.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/6.686, allocations: 1.261 MB / 3.19 GB, free: 300.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002865/6.689, allocations: 0.622 MB / 3.19 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008631/6.69, allocations: 0.5554 MB / 3.191 GB, free: 300.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/6.69, allocations: 0 / 3.191 GB, free: 300.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05872/6.749, allocations: 31 MB / 3.221 GB, free: 273.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/6.749, allocations: 225.5 kB / 3.221 GB, free: 273.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/9.805, allocations: 0 / 3.221 GB, free: 273.3 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)