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.459/2.459, allocations: 285 MB / 292.5 MB, free: 10.57 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.001507/0.001507, allocations: 184.8 kB / 360.7 MB, free: 7.242 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.038/2.038, allocations: 205.3 MB / 0.6192 GB, free: 12.15 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.001014/0.001014, allocations: 95.23 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.152e-05/2.15e-05, allocations: 4 kB / 0.8509 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7735, allocations: 115.2 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/1.056, allocations: 170 MB / 1.129 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/1.057, allocations: 89.69 kB / 1.13 GB, free: 2.328 MB / 0.7292 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.06812/1.125, allocations: 17.72 MB / 1.147 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.904e-06/1.125, allocations: 0 / 1.147 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.178e-05/1.125, allocations: 12 kB / 1.147 GB, free: 0.5117 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.001358/1.126, allocations: 0.623 MB / 1.147 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.126, allocations: 8.031 kB / 1.147 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/1.128, allocations: 160 kB / 1.148 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/1.129, allocations: 338.1 kB / 1.148 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/1.129, allocations: 11.94 kB / 1.148 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/1.129, allocations: 20 kB / 1.148 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008606/1.13, allocations: 333.4 kB / 1.148 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/1.131, allocations: 476.1 kB / 1.149 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/1.131, allocations: 0 / 1.149 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/1.131, allocations: 4 kB / 1.149 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.316e-05/1.131, allocations: 27.77 kB / 1.149 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003597/1.134, allocations: 2.337 MB / 1.151 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/1.135, allocations: 247.4 kB / 1.151 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/1.136, allocations: 102.9 kB / 1.151 GB, free: 11.53 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/1.136, allocations: 4.344 kB / 1.151 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.136, allocations: 38.52 kB / 1.151 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=20): time 2.435e-06/1.136, allocations: 4 kB / 1.151 GB, free: 11.47 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002265/1.138, allocations: 0.7887 MB / 1.152 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/1.138, allocations: 59.41 kB / 1.152 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003358/1.138, allocations: 226.2 kB / 1.152 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.204e-05/1.138, allocations: 25.7 kB / 1.153 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/1.139, allocations: 231.8 kB / 1.153 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/1.139, allocations: 78.84 kB / 1.153 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/1.139, allocations: 0 / 1.153 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.139, allocations: 334.8 kB / 1.153 GB, free: 9.648 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/1.139, allocations: 96.62 kB / 1.153 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/1.139, allocations: 173 kB / 1.153 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/1.14, allocations: 127.1 kB / 1.154 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.14, allocations: 0 / 1.154 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001069/1.141, allocations: 393.8 kB / 1.154 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.141, allocations: 8.781 kB / 1.154 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.141, allocations: 0 / 1.154 GB, free: 8.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005154/1.141, allocations: 90.73 kB / 1.154 GB, free: 8.723 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/1.142, allocations: 63.91 kB / 1.154 GB, free: 8.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/1.146, allocations: 3.897 MB / 1.158 GB, free: 4.418 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/1.146, allocations: 10.19 kB / 1.158 GB, free: 4.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.067e-05/1.146, allocations: 19.94 kB / 1.158 GB, free: 4.391 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.0001428/1.146, allocations: 120.6 kB / 1.158 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.248e-05/1.146, allocations: 31.62 kB / 1.158 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/1.147, allocations: 37.95 kB / 1.158 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.147, allocations: 0 / 1.158 GB, free: 4.195 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/1.147, allocations: 4 kB / 1.158 GB, free: 4.191 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/1.147, allocations: 4.984 kB / 1.158 GB, free: 4.188 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/1.147, allocations: 345.9 kB / 1.158 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/1.147, allocations: 0 / 1.158 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/1.148, allocations: 31.98 kB / 1.158 GB, free: 3.781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/1.148, allocations: 82.5 kB / 1.158 GB, free: 3.691 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/1.148, allocations: 4 kB / 1.159 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/1.152, allocations: 3.898 MB / 1.162 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.152, allocations: 0 / 1.162 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/1.153, allocations: 0.5163 MB / 1.163 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/1.153, allocations: 130.9 kB / 1.163 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/1.153, allocations: 7.453 kB / 1.163 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/1.154, allocations: 8 kB / 1.163 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.493e-05/1.154, allocations: 15.97 kB / 1.163 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/1.154, allocations: 12.06 kB / 1.163 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002387/1.154, allocations: 170 kB / 1.163 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.91e-07/1.154, allocations: 0 / 1.163 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006714/1.155, allocations: 88 kB / 1.163 GB, free: 14.48 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.0001717/1.155, allocations: 107.2 kB / 1.163 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001091/1.156, allocations: 0.556 MB / 1.164 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.156, allocations: 4 kB / 1.164 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/1.157, allocations: 445.8 kB / 1.164 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/1.157, allocations: 52.61 kB / 1.164 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/1.159, allocations: 499.4 kB / 1.165 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/1.159, allocations: 0.8421 MB / 1.166 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003431/1.16, allocations: 56.36 kB / 1.166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.727e-05/1.16, allocations: 27.44 kB / 1.166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/1.16, allocations: 0 / 1.166 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.01181/1.172, allocations: 3.682 MB / 1.169 GB, free: 8.223 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)