Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.569/2.569, allocations: 284.8 MB / 297.3 MB, free: 6.402 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.001448/0.001448, allocations: 184.8 kB / 365.7 MB, free: 2.602 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.059/2.059, allocations: 205.1 MB / 0.6241 GB, free: 8.191 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.001102/0.001101, allocations: 93.34 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.186e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8001/0.8002, allocations: 115.2 MB / 0.97 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/1.11, allocations: 189.5 MB / 1.155 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.111, allocations: 91.38 kB / 1.155 GB, free: 10.69 MB / 0.7605 GB [/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/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);. Notification: Performance of FrontEnd - DAE generated: time 1.271/2.382, allocations: 149.1 MB / 1.301 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.875e-06/2.382, allocations: 0 / 1.301 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0006001/2.383, allocations: 83.05 kB / 1.301 GB, free: 194.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.0219/2.405, allocations: 3.695 MB / 1.304 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/2.405, allocations: 13.77 kB / 1.304 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04068/2.446, allocations: 3.207 MB / 1.308 GB, free: 192.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01653/2.462, allocations: 2.566 MB / 1.31 GB, free: 191.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006516/2.463, allocations: 468.5 kB / 1.311 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/2.465, allocations: 230.9 kB / 1.311 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/2.481, allocations: 3.935 MB / 1.315 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/2.481, allocations: 7.078 kB / 1.315 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/2.482, allocations: 104.4 kB / 1.315 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002794/2.483, allocations: 143.9 kB / 1.315 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/2.495, allocations: 3.594 MB / 1.318 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03806/2.533, allocations: 14.87 MB / 1.333 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009858/2.543, allocations: 2.671 MB / 1.336 GB, free: 178.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/2.546, allocations: 1.112 MB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/2.546, allocations: 23.17 kB / 1.337 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003276/2.549, allocations: 1.439 MB / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.26e-06/2.549, allocations: 0 / 1.338 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.2182/2.767, allocations: 29.55 MB / 1.367 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003865/2.768, allocations: 0.9017 MB / 1.368 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008056/2.776, allocations: 1.945 MB / 1.37 GB, free: 171 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/2.777, allocations: 85.7 kB / 1.37 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002627/2.78, allocations: 1.432 MB / 1.371 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001911/2.782, allocations: 0.8179 MB / 1.372 GB, free: 168.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006126/2.782, allocations: 48 kB / 1.372 GB, free: 168.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002474/2.783, allocations: 403.3 kB / 1.372 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/2.787, allocations: 1.407 MB / 1.374 GB, free: 167.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/2.792, allocations: 1.797 MB / 1.375 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004072/2.796, allocations: 1.617 MB / 1.377 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/2.796, allocations: 4 kB / 1.377 GB, free: 163.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02103/2.817, allocations: 5.479 MB / 1.382 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/2.817, allocations: 144.5 kB / 1.383 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/2.817, allocations: 8 kB / 1.383 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0166/2.834, allocations: 2.886 MB / 1.385 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005709/2.84, allocations: 0.5774 MB / 1.386 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08184/2.921, allocations: 16.96 MB / 1.403 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00786/2.929, allocations: 431.4 kB / 1.403 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007815/2.93, allocations: 91.97 kB / 1.403 GB, free: 137.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.0008915/2.931, allocations: 251.3 kB / 1.403 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00113/2.932, allocations: 336.1 kB / 1.404 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/2.934, allocations: 384.1 kB / 1.404 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/2.934, allocations: 24 kB / 1.404 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/2.934, allocations: 13.52 kB / 1.404 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/2.934, allocations: 11.95 kB / 1.404 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008266/2.942, allocations: 3.637 MB / 1.408 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-05/2.942, allocations: 7.984 kB / 1.408 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004849/2.947, allocations: 0.4993 MB / 1.408 GB, free: 132.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01645/2.963, allocations: 2.799 MB / 1.411 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007265/2.964, allocations: 51.97 kB / 1.411 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05876/3.023, allocations: 16.81 MB / 1.427 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/3.023, allocations: 0 / 1.427 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/3.043, allocations: 5.113 MB / 1.432 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003132/3.046, allocations: 0.7117 MB / 1.433 GB, free: 106.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/3.048, allocations: 48 kB / 1.433 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007307/3.055, allocations: 415.5 kB / 1.433 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002112/3.057, allocations: 382.2 kB / 1.434 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000566/3.058, allocations: 63.98 kB / 1.434 GB, free: 105.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003606/3.062, allocations: 1.49 MB / 1.435 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.193e-06/3.062, allocations: 2.906 kB / 1.435 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005418/3.067, allocations: 1.066 MB / 1.436 GB, free: 103.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009904/3.068, allocations: 181.7 kB / 1.436 GB, free: 103 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03067/3.099, allocations: 5.395 MB / 1.442 GB, free: 97.46 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/3.099, allocations: 4 kB / 1.442 GB, free: 97.46 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02595/3.125, allocations: 3.471 MB / 1.445 GB, free: 93.96 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008045/3.133, allocations: 1.01 MB / 1.446 GB, free: 93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/3.15, allocations: 5.027 MB / 1.451 GB, free: 87.95 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/3.153, allocations: 2.293 MB / 1.453 GB, free: 85.62 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004223/3.157, allocations: 0.5169 MB / 1.454 GB, free: 85.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/3.158, allocations: 175.4 kB / 1.454 GB, free: 84.97 MB / 0.8542 GB Notification: Performance of SimCode: time 1.402e-06/3.158, allocations: 0 / 1.454 GB, free: 84.97 MB / 0.8542 GB Notification: Performance of Templates: time 0.1701/3.328, allocations: 71.29 MB / 1.524 GB, free: 14.77 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)