Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.77/1.77, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001104/0.001104, allocations: 177.6 kB / 371.8 MB, free: 10.32 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.955/1.955, allocations: 205.4 MB / 0.6305 GB, free: 10.09 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 95.67 kB / 0.7439 GB, free: 6.008 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 11.88 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2575, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7257/0.9832, allocations: 170.9 MB / 1.146 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.9835, allocations: 92.83 kB / 1.146 GB, free: 10.75 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.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/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.0.1-maint.8.0.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.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.03876/1.022, allocations: 17.91 MB / 1.164 GB, free: 12.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.343e-06/1.022, allocations: 0 / 1.164 GB, free: 12.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.139e-05/1.022, allocations: 12 kB / 1.164 GB, free: 12.8 MB / 0.698 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.001173/1.024, allocations: 0.6675 MB / 1.165 GB, free: 12.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.024, allocations: 16.02 kB / 1.165 GB, free: 12.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001155/1.024, allocations: 70.59 kB / 1.165 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/1.025, allocations: 163 kB / 1.165 GB, free: 11.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/1.025, allocations: 348.7 kB / 1.165 GB, free: 11.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/1.026, allocations: 22.25 kB / 1.165 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.438e-05/1.026, allocations: 29.56 kB / 1.165 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007448/1.026, allocations: 0.5254 MB / 1.166 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/1.026, allocations: 3.938 kB / 1.166 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/1.026, allocations: 12.5 kB / 1.166 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/1.026, allocations: 28.02 kB / 1.166 GB, free: 11.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/1.027, allocations: 384.5 kB / 1.166 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002471/1.03, allocations: 2.41 MB / 1.169 GB, free: 8.406 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/1.03, allocations: 260.3 kB / 1.169 GB, free: 8.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/1.03, allocations: 4 kB / 1.169 GB, free: 8.223 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.03, allocations: 42.48 kB / 1.169 GB, free: 8.176 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.817e-06/1.03, allocations: 0 / 1.169 GB, free: 8.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002026/1.032, allocations: 1.032 MB / 1.17 GB, free: 7.258 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/1.032, allocations: 55.41 kB / 1.17 GB, free: 7.191 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/1.032, allocations: 258.7 kB / 1.17 GB, free: 6.984 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/1.032, allocations: 33.14 kB / 1.17 GB, free: 6.949 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/1.033, allocations: 235.9 kB / 1.17 GB, free: 6.754 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/1.033, allocations: 80.66 kB / 1.17 GB, free: 6.684 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/1.033, allocations: 7.188 kB / 1.17 GB, free: 6.684 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.033, allocations: 338 kB / 1.171 GB, free: 6.355 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/1.033, allocations: 104 kB / 1.171 GB, free: 6.285 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/1.033, allocations: 182.9 kB / 1.171 GB, free: 6.109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/1.033, allocations: 132.8 kB / 1.171 GB, free: 6.031 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.033, allocations: 0 / 1.171 GB, free: 6.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007443/1.034, allocations: 444.7 kB / 1.172 GB, free: 5.688 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.034, allocations: 5.562 kB / 1.172 GB, free: 5.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/1.034, allocations: 4 kB / 1.172 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/1.035, allocations: 89.97 kB / 1.172 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/1.035, allocations: 67.78 kB / 1.172 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002864/1.038, allocations: 4.104 MB / 1.176 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/1.038, allocations: 10.81 kB / 1.176 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/1.038, allocations: 15.5 kB / 1.176 GB, free: 1.234 MB / 0.698 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.0001985/1.038, allocations: 183 kB / 1.176 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/1.038, allocations: 31.91 kB / 1.176 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.036e-05/1.038, allocations: 41.19 kB / 1.176 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.038, allocations: 11.94 kB / 1.176 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.038, allocations: 0 / 1.176 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.038, allocations: 0 / 1.176 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/1.039, allocations: 405 kB / 1.176 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.039, allocations: 0 / 1.176 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/1.039, allocations: 39.91 kB / 1.176 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002725/1.039, allocations: 84.83 kB / 1.177 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/1.039, allocations: 7.5 kB / 1.177 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/1.042, allocations: 4.105 MB / 1.181 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.042, allocations: 0 / 1.181 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/1.043, allocations: 0.5443 MB / 1.181 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/1.043, allocations: 125.7 kB / 1.181 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/1.043, allocations: 7.188 kB / 1.181 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/1.043, allocations: 11.48 kB / 1.181 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/1.043, allocations: 27.69 kB / 1.181 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/1.043, allocations: 4 kB / 1.181 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001899/1.044, allocations: 209.2 kB / 1.181 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.044, allocations: 4.062 kB / 1.181 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004567/1.044, allocations: 98.12 kB / 1.182 GB, free: 11.38 MB / 0.7136 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.001075/1.045, allocations: 1.102 MB / 1.183 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008165/1.046, allocations: 0.5948 MB / 1.183 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.046, allocations: 8.062 kB / 1.183 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004669/1.046, allocations: 472.9 kB / 1.184 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/1.047, allocations: 73.7 kB / 1.184 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/1.05, allocations: 3.72 MB / 1.187 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004159/1.051, allocations: 0.8358 MB / 1.188 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002405/1.051, allocations: 58.92 kB / 1.188 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/1.051, allocations: 112 kB / 1.188 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of SimCode: time 6.322e-06/1.051, allocations: 0 / 1.188 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/1.072, allocations: 7.146 MB / 1.195 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/1.072, allocations: 200.7 kB / 1.196 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.998, allocations: 3.938 kB / 1.196 GB, free: 13.66 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)