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.705/1.705, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.00111/0.00111, allocations: 176.9 kB / 361.4 MB, free: 6.859 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.567/1.567, allocations: 205.2 MB / 0.62 GB, free: 11.7 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.0008461/0.0008462, allocations: 94.69 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.966e-05, allocations: 0 / 0.8518 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7184/0.7184, allocations: 115.3 MB / 0.9645 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2243/0.9428, allocations: 170.2 MB / 1.131 GB, free: 1.531 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.9431, allocations: 83.95 kB / 1.131 GB, free: 1.449 MB / 0.7292 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.05986/1.003, allocations: 17.71 MB / 1.148 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.674e-06/1.003, allocations: 0 / 1.148 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.761e-05/1.003, allocations: 12 kB / 1.148 GB, free: 15.62 MB / 0.7605 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.001421/1.004, allocations: 0.6308 MB / 1.149 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/1.005, allocations: 12.03 kB / 1.149 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/1.006, allocations: 152.1 kB / 1.149 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/1.007, allocations: 342 kB / 1.149 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/1.007, allocations: 12 kB / 1.149 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/1.007, allocations: 22.75 kB / 1.149 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009252/1.008, allocations: 333.4 kB / 1.149 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.009, allocations: 480.1 kB / 1.15 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/1.01, allocations: 0 / 1.15 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/1.01, allocations: 0 / 1.15 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.498e-05/1.01, allocations: 28.77 kB / 1.15 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/1.014, allocations: 2.337 MB / 1.152 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/1.014, allocations: 247.1 kB / 1.152 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/1.015, allocations: 104.8 kB / 1.153 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/1.015, allocations: 4 kB / 1.153 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/1.015, allocations: 34.91 kB / 1.153 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 3.186e-06/1.015, allocations: 0 / 1.153 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002187/1.017, allocations: 0.7927 MB / 1.153 GB, free: 9.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/1.017, allocations: 58.5 kB / 1.153 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/1.017, allocations: 230.2 kB / 1.154 GB, free: 9.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/1.017, allocations: 25.7 kB / 1.154 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/1.018, allocations: 227.8 kB / 1.154 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/1.018, allocations: 82.84 kB / 1.154 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/1.018, allocations: 0 / 1.154 GB, free: 9.09 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002183/1.018, allocations: 338.8 kB / 1.154 GB, free: 8.75 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/1.018, allocations: 92.62 kB / 1.154 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/1.018, allocations: 171.5 kB / 1.155 GB, free: 8.453 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/1.019, allocations: 125 kB / 1.155 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.019, allocations: 0 / 1.155 GB, free: 8.332 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009915/1.02, allocations: 399.8 kB / 1.155 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/1.02, allocations: 4 kB / 1.155 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.02, allocations: 4 kB / 1.155 GB, free: 7.922 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/1.02, allocations: 90.77 kB / 1.155 GB, free: 7.824 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/1.021, allocations: 59.91 kB / 1.155 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/1.025, allocations: 3.901 MB / 1.159 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/1.025, allocations: 8.062 kB / 1.159 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/1.025, allocations: 12 kB / 1.159 GB, free: 3.5 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 () * 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.0001873/1.025, allocations: 120.8 kB / 1.159 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008011/1.026, allocations: 311.5 kB / 1.159 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/1.026, allocations: 27.72 kB / 1.159 GB, free: 3.027 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/1.026, allocations: 33.95 kB / 1.16 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.026, allocations: 4 kB / 1.16 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.026, allocations: 0 / 1.16 GB, free: 2.988 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/1.026, allocations: 4 kB / 1.16 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/1.027, allocations: 339.2 kB / 1.16 GB, free: 2.617 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.027, allocations: 3.953 kB / 1.16 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/1.027, allocations: 27.98 kB / 1.16 GB, free: 2.586 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004058/1.028, allocations: 90.5 kB / 1.16 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/1.028, allocations: 0 / 1.16 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004052/1.032, allocations: 3.906 MB / 1.164 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.032, allocations: 0 / 1.164 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.033, allocations: 0.5161 MB / 1.164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/1.033, allocations: 120.8 kB / 1.164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/1.033, allocations: 4.156 kB / 1.164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/1.034, allocations: 11.95 kB / 1.164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.478e-05/1.034, allocations: 19.97 kB / 1.164 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.034, allocations: 11.94 kB / 1.164 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00024/1.034, allocations: 170 kB / 1.165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.91e-07/1.034, allocations: 0 / 1.165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007679/1.035, allocations: 84 kB / 1.165 GB, free: 13.28 MB / 0.7761 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 () * 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.00145/1.036, allocations: 1.076 MB / 1.166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001048/1.037, allocations: 0.5521 MB / 1.166 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.037, allocations: 3.938 kB / 1.166 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006436/1.038, allocations: 442.7 kB / 1.167 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005888/1.039, allocations: 65.25 kB / 1.167 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/1.04, allocations: 0.5772 MB / 1.167 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/1.041, allocations: 0.8421 MB / 1.168 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003487/1.041, allocations: 55.25 kB / 1.168 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/1.042, allocations: 103.4 kB / 1.168 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/1.042, allocations: 0 / 1.168 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03361/1.075, allocations: 6.206 MB / 1.174 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/1.076, allocations: 145.5 kB / 1.175 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/3.209, allocations: 5.25 kB / 1.175 GB, free: 3.168 MB / 0.7761 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)