Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel",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.745/1.745, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001125/0.001125, allocations: 187.3 kB / 377.1 MB, free: 1.527 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.887/1.887, allocations: 205.4 MB / 0.6366 GB, free: 9.562 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.0008648/0.0008648, allocations: 92.28 kB / 0.7509 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003292, allocations: 12 kB / 0.8749 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 116.3 MB / 0.9884 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7279/0.969, allocations: 171.9 MB / 1.156 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.9694, allocations: 94.58 kB / 1.156 GB, free: 9.617 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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/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/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:18:3-18: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.04306/1.012, allocations: 17.92 MB / 1.174 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.984e-06/1.012, allocations: 0 / 1.174 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.823e-05/1.013, allocations: 11.98 kB / 1.174 GB, free: 8.637 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001638/1.014, allocations: 0.6619 MB / 1.175 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.014, allocations: 16.02 kB / 1.175 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/1.014, allocations: 79.75 kB / 1.175 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.016, allocations: 159.3 kB / 1.175 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007776/1.016, allocations: 343.4 kB / 1.175 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/1.017, allocations: 25 kB / 1.175 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/1.017, allocations: 29.72 kB / 1.175 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009077/1.018, allocations: 0.5236 MB / 1.176 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.018, allocations: 0 / 1.176 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/1.018, allocations: 19.98 kB / 1.176 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/1.018, allocations: 24.64 kB / 1.176 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/1.018, allocations: 390.9 kB / 1.176 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/1.022, allocations: 2.411 MB / 1.178 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006097/1.022, allocations: 264 kB / 1.179 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/1.022, allocations: 4 kB / 1.179 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/1.022, allocations: 38.86 kB / 1.179 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/1.022, allocations: 0 / 1.179 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.002642/1.025, allocations: 1.032 MB / 1.18 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/1.025, allocations: 59.34 kB / 1.18 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/1.026, allocations: 259.7 kB / 1.18 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/1.026, allocations: 29.7 kB / 1.18 GB, free: 1.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.026, allocations: 235.5 kB / 1.18 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/1.026, allocations: 86.84 kB / 1.18 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/1.026, allocations: 4 kB / 1.18 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.026, allocations: 342.8 kB / 1.181 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/1.026, allocations: 100.6 kB / 1.181 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/1.026, allocations: 184.4 kB / 1.181 GB, free: 0.8555 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/1.027, allocations: 129.1 kB / 1.181 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/1.027, allocations: 4 kB / 1.181 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007458/1.027, allocations: 440.4 kB / 1.182 GB, free: 292 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.028, allocations: 8 kB / 1.182 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/1.028, allocations: 4 kB / 1.182 GB, free: 280 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/1.028, allocations: 90.66 kB / 1.182 GB, free: 180 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/1.028, allocations: 63.91 kB / 1.182 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/1.033, allocations: 4.107 MB / 1.186 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/1.033, allocations: 12 kB / 1.186 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/1.033, allocations: 12 kB / 1.186 GB, free: 11.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003589/1.033, allocations: 183.6 kB / 1.186 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8e-05/1.033, allocations: 35.61 kB / 1.186 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/1.033, allocations: 42.81 kB / 1.186 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.033, allocations: 7.953 kB / 1.186 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.033, allocations: 0 / 1.186 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/1.034, allocations: 3.984 kB / 1.186 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/1.034, allocations: 394.4 kB / 1.186 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/1.034, allocations: 0 / 1.186 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/1.034, allocations: 39.91 kB / 1.186 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003143/1.035, allocations: 86.5 kB / 1.186 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/1.035, allocations: 8 kB / 1.186 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005451/1.04, allocations: 4.103 MB / 1.19 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.04, allocations: 0 / 1.19 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/1.042, allocations: 0.5457 MB / 1.191 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/1.042, allocations: 124.8 kB / 1.191 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/1.042, allocations: 11.98 kB / 1.191 GB, free: 5.516 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/1.042, allocations: 8 kB / 1.191 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.425e-05/1.043, allocations: 24.73 kB / 1.191 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/1.043, allocations: 8 kB / 1.191 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003746/1.043, allocations: 203.1 kB / 1.191 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.078e-06/1.043, allocations: 0 / 1.191 GB, free: 5.277 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009114/1.044, allocations: 107.9 kB / 1.191 GB, free: 5.172 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/1.046, allocations: 1.096 MB / 1.193 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001276/1.047, allocations: 0.6018 MB / 1.193 GB, free: 3.406 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.047, allocations: 12.12 kB / 1.193 GB, free: 3.395 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007623/1.048, allocations: 471.8 kB / 1.194 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/1.048, allocations: 63.05 kB / 1.194 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005484/1.054, allocations: 3.714 MB / 1.197 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006626/1.055, allocations: 0.8419 MB / 1.198 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003837/1.055, allocations: 55.8 kB / 1.198 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.055, allocations: 107.4 kB / 1.198 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of SimCode: time 7.484e-06/1.055, allocations: 0 / 1.198 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/1.086, allocations: 7.137 MB / 1.205 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003396/1.087, allocations: 197.1 kB / 1.205 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/3.192, allocations: 0 / 1.205 GB, free: 6.812 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_8_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)