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.629/2.629, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001478/0.001478, allocations: 181 kB / 371 MB, free: 10.79 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.044/2.044, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 86.94 kB / 0.743 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007523/0.0007525, allocations: 11.89 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2764, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9754/1.252, allocations: 170.8 MB / 1.145 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.252, allocations: 90.98 kB / 1.145 GB, free: 11.13 MB / 0.6823 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.06485/1.317, allocations: 17.92 MB / 1.163 GB, free: 14.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.913e-06/1.317, allocations: 0 / 1.163 GB, free: 14.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.256e-05/1.317, allocations: 15.98 kB / 1.163 GB, free: 14.07 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.001681/1.319, allocations: 0.6597 MB / 1.163 GB, free: 13.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.319, allocations: 12.02 kB / 1.163 GB, free: 13.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/1.321, allocations: 163.9 kB / 1.164 GB, free: 13.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/1.322, allocations: 345.1 kB / 1.164 GB, free: 12.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/1.322, allocations: 22.75 kB / 1.164 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.675e-05/1.322, allocations: 34.88 kB / 1.164 GB, free: 12.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/1.323, allocations: 0.5195 MB / 1.164 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/1.323, allocations: 3.938 kB / 1.164 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/1.323, allocations: 11.25 kB / 1.164 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/1.323, allocations: 28.08 kB / 1.164 GB, free: 12.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009873/1.324, allocations: 384.2 kB / 1.165 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004156/1.328, allocations: 2.412 MB / 1.167 GB, free: 9.738 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008235/1.329, allocations: 255.7 kB / 1.167 GB, free: 9.566 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/1.329, allocations: 4.344 kB / 1.167 GB, free: 9.562 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.329, allocations: 38.52 kB / 1.167 GB, free: 9.516 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.056e-06/1.329, allocations: 3.938 kB / 1.167 GB, free: 9.512 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.003183/1.332, allocations: 1.026 MB / 1.168 GB, free: 8.598 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.333, allocations: 59.03 kB / 1.169 GB, free: 8.531 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/1.333, allocations: 259.1 kB / 1.169 GB, free: 8.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/1.333, allocations: 33.64 kB / 1.169 GB, free: 8.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/1.333, allocations: 232 kB / 1.169 GB, free: 8.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.333, allocations: 85.16 kB / 1.169 GB, free: 8.016 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.659e-05/1.333, allocations: 6.938 kB / 1.169 GB, free: 8.016 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.334, allocations: 338.1 kB / 1.169 GB, free: 7.688 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/1.334, allocations: 103.2 kB / 1.17 GB, free: 7.617 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/1.334, allocations: 183.3 kB / 1.17 GB, free: 7.441 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/1.335, allocations: 132.4 kB / 1.17 GB, free: 7.363 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.335, allocations: 4 kB / 1.17 GB, free: 7.359 MB / 0.698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001349/1.336, allocations: 438.2 kB / 1.17 GB, free: 7.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.336, allocations: 12.06 kB / 1.17 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.336, allocations: 0 / 1.17 GB, free: 7.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000613/1.337, allocations: 94.66 kB / 1.17 GB, free: 6.922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/1.337, allocations: 59.91 kB / 1.17 GB, free: 6.863 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/1.343, allocations: 4.109 MB / 1.174 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/1.343, allocations: 13.41 kB / 1.174 GB, free: 2.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/1.343, allocations: 13.94 kB / 1.174 GB, free: 2.559 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.0004146/1.344, allocations: 187.8 kB / 1.175 GB, free: 2.395 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/1.344, allocations: 27.72 kB / 1.175 GB, free: 2.367 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/1.344, allocations: 38.44 kB / 1.175 GB, free: 2.348 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.344, allocations: 7.953 kB / 1.175 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.344, allocations: 0 / 1.175 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.344, allocations: 3.938 kB / 1.175 GB, free: 2.336 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008129/1.345, allocations: 401 kB / 1.175 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.345, allocations: 0 / 1.175 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/1.345, allocations: 39.47 kB / 1.175 GB, free: 1.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/1.346, allocations: 84.77 kB / 1.175 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/1.346, allocations: 3.875 kB / 1.175 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005082/1.351, allocations: 4.108 MB / 1.179 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.351, allocations: 0 / 1.179 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/1.353, allocations: 0.5521 MB / 1.18 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/1.353, allocations: 120.2 kB / 1.18 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.674e-05/1.353, allocations: 7.875 kB / 1.18 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/1.353, allocations: 19.3 kB / 1.18 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/1.354, allocations: 23.12 kB / 1.18 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/1.354, allocations: 4 kB / 1.18 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003714/1.354, allocations: 210.9 kB / 1.18 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.354, allocations: 0 / 1.18 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007558/1.355, allocations: 106.9 kB / 1.18 GB, free: 12.7 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.0002158/1.355, allocations: 99.12 kB / 1.18 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00139/1.356, allocations: 0.6069 MB / 1.181 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.356, allocations: 4 kB / 1.181 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/1.357, allocations: 472.4 kB / 1.181 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/1.358, allocations: 71.94 kB / 1.181 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/1.36, allocations: 0.849 MB / 1.182 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/1.361, allocations: 0.8443 MB / 1.183 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004152/1.361, allocations: 54.94 kB / 1.183 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/1.361, allocations: 23.44 kB / 1.183 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.361, allocations: 4 kB / 1.183 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of Templates: time 0.01396/1.375, allocations: 4.115 MB / 1.187 GB, free: 5.699 MB / 0.7136 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)