Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001159/0.001158, allocations: 176.4 kB / 366.7 MB, free: 1.645 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.967/1.967, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0009026/0.0009027, allocations: 101.2 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.721e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.789/0.7891, allocations: 116.3 MB / 0.9733 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.019/6.808, allocations: 2.106 GB / 3.079 GB, free: 283.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/6.808, allocations: 100.6 kB / 3.079 GB, free: 283.7 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.168/6.976, allocations: 67.84 MB / 3.145 GB, free: 262.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.575e-06/6.976, allocations: 0 / 3.145 GB, free: 262.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001708/6.976, allocations: 39.28 kB / 3.145 GB, free: 262.6 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.004382/6.981, allocations: 1.552 MB / 3.147 GB, free: 261.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/6.981, allocations: 7.812 kB / 3.147 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005747/6.986, allocations: 0.8071 MB / 3.148 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/6.989, allocations: 0.8857 MB / 3.149 GB, free: 260.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/6.989, allocations: 46.31 kB / 3.149 GB, free: 260.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/6.989, allocations: 85.89 kB / 3.149 GB, free: 260.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003093/6.993, allocations: 1.844 MB / 3.15 GB, free: 260.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/6.995, allocations: 1.507 MB / 3.152 GB, free: 259.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/6.995, allocations: 3.938 kB / 3.152 GB, free: 259.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/6.996, allocations: 3.906 kB / 3.152 GB, free: 259.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.815e-05/6.996, allocations: 65.16 kB / 3.152 GB, free: 259.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/7.006, allocations: 5.887 MB / 3.158 GB, free: 256.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/7.008, allocations: 1.221 MB / 3.159 GB, free: 256.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/7.009, allocations: 0.5725 MB / 3.16 GB, free: 256.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/7.009, allocations: 492.7 kB / 3.16 GB, free: 255.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009903/7.01, allocations: 0.7439 MB / 3.161 GB, free: 255.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 2.925e-06/7.01, allocations: 0 / 3.161 GB, free: 255.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.00445/7.015, allocations: 1.651 MB / 3.162 GB, free: 255.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001373/7.015, allocations: 358.9 kB / 3.163 GB, free: 254.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/7.016, allocations: 0.6655 MB / 3.163 GB, free: 254.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/7.016, allocations: 29.58 kB / 3.163 GB, free: 254.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/7.017, allocations: 0.5907 MB / 3.164 GB, free: 254.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/7.017, allocations: 415 kB / 3.164 GB, free: 253.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/7.017, allocations: 0 / 3.164 GB, free: 253.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/7.017, allocations: 350 kB / 3.165 GB, free: 253.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005571/7.018, allocations: 435.3 kB / 3.165 GB, free: 253.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/7.018, allocations: 0.6289 MB / 3.166 GB, free: 253.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/7.021, allocations: 0.9783 MB / 3.167 GB, free: 253.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/7.021, allocations: 7.203 kB / 3.167 GB, free: 253.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004354/7.026, allocations: 1.718 MB / 3.168 GB, free: 252.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/7.026, allocations: 1.059 MB / 3.169 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/7.026, allocations: 3.188 kB / 3.169 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/7.026, allocations: 30.75 kB / 3.169 GB, free: 251.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/7.028, allocations: 329.4 kB / 3.17 GB, free: 251.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000317/7.028, allocations: 0.5386 MB / 3.17 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/7.029, allocations: 156.3 kB / 3.17 GB, free: 251 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/7.03, allocations: 54.11 kB / 3.17 GB, free: 250.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/7.03, allocations: 5.531 kB / 3.17 GB, free: 250.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00387/7.033, allocations: 1.57 MB / 3.172 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/7.034, allocations: 7.828 kB / 3.172 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/7.034, allocations: 7.812 kB / 3.172 GB, free: 250.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/7.035, allocations: 336.4 kB / 3.172 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/7.035, allocations: 11.38 kB / 3.172 GB, free: 250.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/7.036, allocations: 140.6 kB / 3.172 GB, free: 250.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/7.037, allocations: 60.45 kB / 3.173 GB, free: 250.5 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.0003322/7.037, allocations: 139.9 kB / 3.173 GB, free: 250.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004087/7.041, allocations: 1.643 MB / 3.174 GB, free: 250 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/7.041, allocations: 121.3 kB / 3.174 GB, free: 249.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/7.046, allocations: 1.997 MB / 3.176 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/7.046, allocations: 16 kB / 3.176 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/7.046, allocations: 0 / 3.176 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/7.046, allocations: 7.969 kB / 3.176 GB, free: 249 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006597/7.053, allocations: 3.675 MB / 3.18 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/7.053, allocations: 4 kB / 3.18 GB, free: 246 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/7.055, allocations: 303.7 kB / 3.18 GB, free: 245.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/7.055, allocations: 32.83 kB / 3.18 GB, free: 245.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-05/7.055, allocations: 35.89 kB / 3.18 GB, free: 245.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006332/7.055, allocations: 1.225 MB / 3.181 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/7.056, allocations: 2.109 kB / 3.182 GB, free: 244.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004298/7.06, allocations: 1.902 MB / 3.183 GB, free: 242.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/7.06, allocations: 407 kB / 3.184 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/7.061, allocations: 4 kB / 3.184 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/7.062, allocations: 111.9 kB / 3.184 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/7.062, allocations: 89.19 kB / 3.184 GB, free: 241.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/7.062, allocations: 55.95 kB / 3.184 GB, free: 241.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006359/7.063, allocations: 0.5343 MB / 3.185 GB, free: 241.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/7.063, allocations: 0 / 3.185 GB, free: 241.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001973/7.065, allocations: 0.6807 MB / 3.185 GB, free: 240.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.005489/7.07, allocations: 3.157 MB / 3.188 GB, free: 237.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00279/7.073, allocations: 1.815 MB / 3.19 GB, free: 235.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/7.073, allocations: 4 kB / 3.19 GB, free: 235.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008708/7.074, allocations: 0.7419 MB / 3.191 GB, free: 234.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/7.075, allocations: 259.6 kB / 3.191 GB, free: 234.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/7.08, allocations: 2.204 MB / 3.193 GB, free: 232.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005871/7.08, allocations: 1.266 MB / 3.194 GB, free: 231 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002639/7.083, allocations: 0.6051 MB / 3.195 GB, free: 230.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007703/7.084, allocations: 0.5617 MB / 3.196 GB, free: 229.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/7.084, allocations: 0 / 3.196 GB, free: 229.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06101/7.145, allocations: 29 MB / 3.224 GB, free: 201 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/7.145, allocations: 165.8 kB / 3.224 GB, free: 200.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.997/10.14, allocations: 3.938 kB / 3.224 GB, free: 200.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sources_Examples_PVSimple_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sources_Examples_PVSimple.fmu > Buildings_8_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)