Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.733/2.733, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001539/0.001539, allocations: 176.9 kB / 360.6 MB, free: 7.289 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001106/0.001106, allocations: 94.34 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.453e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8038, allocations: 115.3 MB / 0.9634 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.11/6.914, allocations: 2.105 GB / 3.068 GB, free: 15.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/6.914, allocations: 94.2 kB / 3.068 GB, free: 15.15 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.9031/7.817, allocations: 67.83 MB / 3.134 GB, free: 329.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.464e-06/7.817, allocations: 1.031 kB / 3.134 GB, free: 329.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002175/7.817, allocations: 39.69 kB / 3.134 GB, free: 329.1 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.006732/7.824, allocations: 1.554 MB / 3.136 GB, free: 328.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/7.824, allocations: 13.34 kB / 3.136 GB, free: 328.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009792/7.834, allocations: 0.8061 MB / 3.137 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/7.837, allocations: 0.8911 MB / 3.138 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/7.837, allocations: 46.66 kB / 3.138 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004645/7.838, allocations: 80.38 kB / 3.138 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005649/7.843, allocations: 1.839 MB / 3.139 GB, free: 327 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005356/7.849, allocations: 1.513 MB / 3.141 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/7.849, allocations: 1.375 kB / 3.141 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/7.849, allocations: 2.469 kB / 3.141 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/7.849, allocations: 66 kB / 3.141 GB, free: 326.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01774/7.867, allocations: 5.892 MB / 3.147 GB, free: 321.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/7.871, allocations: 1.223 MB / 3.148 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/7.872, allocations: 0.5703 MB / 3.149 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/7.873, allocations: 495.3 kB / 3.149 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001804/7.875, allocations: 0.7453 MB / 3.15 GB, free: 319.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 4.669e-06/7.875, allocations: 4 kB / 3.15 GB, free: 319.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.0085/7.884, allocations: 1.644 MB / 3.151 GB, free: 319.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/7.884, allocations: 363.2 kB / 3.152 GB, free: 318.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/7.885, allocations: 0.6626 MB / 3.152 GB, free: 318.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003758/7.886, allocations: 25.7 kB / 3.152 GB, free: 318.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005813/7.886, allocations: 0.5969 MB / 3.153 GB, free: 317.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005523/7.887, allocations: 411.2 kB / 3.153 GB, free: 317.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/7.887, allocations: 0 / 3.153 GB, free: 317.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/7.887, allocations: 352.2 kB / 3.154 GB, free: 317 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/7.888, allocations: 441.3 kB / 3.154 GB, free: 316.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/7.89, allocations: 0.6263 MB / 3.155 GB, free: 316.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005988/7.896, allocations: 0.9737 MB / 3.156 GB, free: 315.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/7.896, allocations: 0 / 3.156 GB, free: 315.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.008749/7.904, allocations: 1.723 MB / 3.157 GB, free: 315.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002496/7.905, allocations: 1.054 MB / 3.158 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/7.905, allocations: 3.812 kB / 3.158 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/7.905, allocations: 31.03 kB / 3.158 GB, free: 314 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/7.908, allocations: 331 kB / 3.159 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003919/7.909, allocations: 0.5371 MB / 3.159 GB, free: 313.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/7.912, allocations: 156.7 kB / 3.159 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/7.912, allocations: 56.2 kB / 3.159 GB, free: 313.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/7.912, allocations: 3.531 kB / 3.159 GB, free: 313.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008162/7.92, allocations: 1.569 MB / 3.161 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/7.92, allocations: 7.797 kB / 3.161 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/7.92, allocations: 7.875 kB / 3.161 GB, free: 312.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003486/7.924, allocations: 331.4 kB / 3.161 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.657e-05/7.924, allocations: 10.31 kB / 3.161 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/7.927, allocations: 140 kB / 3.161 GB, free: 312.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000452/7.927, allocations: 59.02 kB / 3.162 GB, free: 312.4 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.0005182/7.928, allocations: 130.6 kB / 3.162 GB, free: 312.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008465/7.936, allocations: 1.653 MB / 3.163 GB, free: 311.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006408/7.937, allocations: 106.9 kB / 3.163 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/7.947, allocations: 2.019 MB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/7.947, allocations: 14.59 kB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/7.947, allocations: 3.938 kB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/7.947, allocations: 7.969 kB / 3.165 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/7.961, allocations: 3.67 MB / 3.169 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/7.961, allocations: 1.625 kB / 3.169 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00324/7.964, allocations: 308.2 kB / 3.169 GB, free: 308 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001904/7.964, allocations: 28.38 kB / 3.169 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003001/7.964, allocations: 27.75 kB / 3.169 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008996/7.965, allocations: 1.225 MB / 3.17 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/7.965, allocations: 3.969 kB / 3.17 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008675/7.974, allocations: 1.895 MB / 3.172 GB, free: 305 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/7.975, allocations: 411 kB / 3.173 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003795/7.976, allocations: 7.984 kB / 3.173 GB, free: 304.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002657/7.978, allocations: 107.9 kB / 3.173 GB, free: 304.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/7.979, allocations: 89.17 kB / 3.173 GB, free: 304.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/7.979, allocations: 51.97 kB / 3.173 GB, free: 304.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001116/7.98, allocations: 0.5382 MB / 3.173 GB, free: 303.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/7.98, allocations: 3.938 kB / 3.173 GB, free: 303.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003288/7.984, allocations: 0.6652 MB / 3.174 GB, free: 303.1 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.01029/7.994, allocations: 3.17 MB / 3.177 GB, free: 300.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004702/7.999, allocations: 1.819 MB / 3.179 GB, free: 298.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/7.999, allocations: 1.375 kB / 3.179 GB, free: 298.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/8, allocations: 0.7409 MB / 3.18 GB, free: 297.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/8.003, allocations: 261.5 kB / 3.18 GB, free: 297.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/8.011, allocations: 2.211 MB / 3.182 GB, free: 295 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/8.012, allocations: 1.274 MB / 3.183 GB, free: 293.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005619/8.018, allocations: 0.6082 MB / 3.184 GB, free: 293.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/8.02, allocations: 0.5617 MB / 3.185 GB, free: 292.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.773e-06/8.02, allocations: 0 / 3.185 GB, free: 292.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/8.12, allocations: 29 MB / 3.213 GB, free: 263.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000233/8.12, allocations: 173.8 kB / 3.213 GB, free: 263.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.035/12.16, allocations: 9.938 kB / 3.213 GB, free: 263.5 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Sources_Examples_PVSimple.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)