Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") translateModel(Buildings.Electrical.DC.Lines.Examples.RCModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.552/2.552, allocations: 284.8 MB / 297.3 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002237/0.002237, allocations: 184.8 kB / 365.7 MB, free: 2.551 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.1 MB / 0.6241 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 106.7 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.281e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7842, allocations: 115.2 MB / 0.97 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2795/1.064, allocations: 170.7 MB / 1.137 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/1.064, allocations: 85.69 kB / 1.137 GB, free: 13.59 MB / 0.7448 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/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);. [/var/lib/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/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.07412/1.138, allocations: 17.8 MB / 1.154 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.175e-06/1.138, allocations: 0 / 1.154 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.414e-05/1.138, allocations: 12 kB / 1.154 GB, free: 11.69 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.001724/1.14, allocations: 0.623 MB / 1.155 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.14, allocations: 8.031 kB / 1.155 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/1.142, allocations: 156 kB / 1.155 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.143, allocations: 346 kB / 1.155 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/1.143, allocations: 24.78 kB / 1.155 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.143, allocations: 35.98 kB / 1.155 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/1.145, allocations: 0.5016 MB / 1.156 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/1.145, allocations: 4 kB / 1.156 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/1.145, allocations: 19.98 kB / 1.156 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.041e-05/1.145, allocations: 26.77 kB / 1.156 GB, free: 9.84 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/1.146, allocations: 386.8 kB / 1.156 GB, free: 9.465 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/1.15, allocations: 2.412 MB / 1.159 GB, free: 6.832 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/1.151, allocations: 255.6 kB / 1.159 GB, free: 6.574 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/1.151, allocations: 113.2 kB / 1.159 GB, free: 6.461 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/1.152, allocations: 11.95 kB / 1.159 GB, free: 6.449 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.152, allocations: 30.56 kB / 1.159 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 2.515e-06/1.152, allocations: 0 / 1.159 GB, free: 6.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002827/1.154, allocations: 0.8498 MB / 1.16 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/1.155, allocations: 55.41 kB / 1.16 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/1.155, allocations: 266.6 kB / 1.16 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/1.155, allocations: 29.7 kB / 1.16 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/1.155, allocations: 231.6 kB / 1.16 GB, free: 4.895 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.155, allocations: 82.83 kB / 1.16 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.225e-05/1.155, allocations: 11.94 kB / 1.16 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.156, allocations: 341.2 kB / 1.161 GB, free: 4.461 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/1.156, allocations: 100.6 kB / 1.161 GB, free: 4.359 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/1.156, allocations: 179.8 kB / 1.161 GB, free: 4.148 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003471/1.157, allocations: 135.2 kB / 1.161 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.157, allocations: 0 / 1.161 GB, free: 4.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001283/1.158, allocations: 429.6 kB / 1.162 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/1.158, allocations: 4 kB / 1.162 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.158, allocations: 4 kB / 1.162 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005946/1.159, allocations: 94.72 kB / 1.162 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/1.159, allocations: 63.91 kB / 1.162 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/1.164, allocations: 4.063 MB / 1.166 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/1.164, allocations: 12 kB / 1.166 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/1.164, allocations: 15.94 kB / 1.166 GB, free: 14.93 MB / 0.7761 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.0001642/1.165, allocations: 125.1 kB / 1.166 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.491e-05/1.165, allocations: 37.44 kB / 1.166 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/1.165, allocations: 38.09 kB / 1.166 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/1.165, allocations: 3.953 kB / 1.166 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.165, allocations: 4 kB / 1.166 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.165, allocations: 3.984 kB / 1.166 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00076/1.166, allocations: 397.5 kB / 1.166 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.166, allocations: 0 / 1.166 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003944/1.166, allocations: 35.97 kB / 1.166 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/1.167, allocations: 90.45 kB / 1.166 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/1.167, allocations: 4 kB / 1.166 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/1.171, allocations: 4.063 MB / 1.17 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.171, allocations: 1.5 kB / 1.17 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.173, allocations: 0.5447 MB / 1.171 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/1.173, allocations: 120.8 kB / 1.171 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/1.173, allocations: 4 kB / 1.171 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/1.173, allocations: 25.7 kB / 1.171 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/1.173, allocations: 19.88 kB / 1.171 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/1.174, allocations: 8 kB / 1.171 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003555/1.174, allocations: 206.2 kB / 1.171 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.61e-07/1.174, allocations: 4 kB / 1.171 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007382/1.175, allocations: 104 kB / 1.171 GB, free: 8.609 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.0002104/1.175, allocations: 103.5 kB / 1.171 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001378/1.176, allocations: 0.5975 MB / 1.172 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.176, allocations: 0 / 1.172 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008207/1.177, allocations: 476 kB / 1.173 GB, free: 7.359 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007158/1.178, allocations: 67.03 kB / 1.173 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/1.179, allocations: 0.5038 MB / 1.173 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/1.18, allocations: 0.838 MB / 1.174 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004361/1.181, allocations: 58.92 kB / 1.174 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/1.181, allocations: 27.42 kB / 1.174 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/1.181, allocations: 0 / 1.174 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of Templates: time 0.01473/1.195, allocations: 4.122 MB / 1.178 GB, free: 1.82 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1)