Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.477/2.477, allocations: 285 MB / 292.5 MB, free: 10.53 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.001455/0.001455, allocations: 184.9 kB / 360.7 MB, free: 7.23 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.015/2.015, allocations: 205.2 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.00114/0.001139, allocations: 99.38 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.005e-05/2.018e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8412, allocations: 115.2 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/1.19, allocations: 188.8 MB / 1.148 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003972/1.191, allocations: 91.94 kB / 1.148 GB, free: 15.5 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.305/2.496, allocations: 146.5 MB / 1.291 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.003e-06/2.496, allocations: 0 / 1.291 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005244/2.496, allocations: 83.19 kB / 1.291 GB, free: 192.4 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.01482/2.511, allocations: 3.426 MB / 1.294 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/2.511, allocations: 8.094 kB / 1.294 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02841/2.54, allocations: 3.205 MB / 1.298 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/2.55, allocations: 2.3 MB / 1.3 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/2.551, allocations: 76.44 kB / 1.3 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/2.552, allocations: 140.2 kB / 1.3 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01148/2.564, allocations: 3.38 MB / 1.303 GB, free: 189.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/2.578, allocations: 3.484 MB / 1.307 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/2.578, allocations: 5.812 kB / 1.307 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/2.58, allocations: 7.906 kB / 1.307 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002901/2.58, allocations: 147.2 kB / 1.307 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03679/2.617, allocations: 13.85 MB / 1.32 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/2.629, allocations: 2.75 MB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/2.631, allocations: 1.006 MB / 1.324 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/2.632, allocations: 29.16 kB / 1.324 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003142/2.635, allocations: 1.3 MB / 1.325 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 7.023e-06/2.635, allocations: 0 / 1.325 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.03097/2.666, allocations: 7.551 MB / 1.333 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002914/2.666, allocations: 0.8986 MB / 1.334 GB, free: 175.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/2.67, allocations: 1.562 MB / 1.335 GB, free: 175 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006854/2.671, allocations: 39.94 kB / 1.335 GB, free: 175 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/2.672, allocations: 1.448 MB / 1.337 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001304/2.674, allocations: 0.7835 MB / 1.337 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/2.674, allocations: 0 / 1.337 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001778/2.674, allocations: 396.6 kB / 1.338 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003063/2.677, allocations: 1.205 MB / 1.339 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/2.681, allocations: 1.579 MB / 1.34 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003295/2.684, allocations: 1.299 MB / 1.342 GB, free: 171 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/2.684, allocations: 7.938 kB / 1.342 GB, free: 171 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01554/2.7, allocations: 4.36 MB / 1.346 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005917/2.701, allocations: 2.416 MB / 1.348 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.877e-05/2.701, allocations: 7.891 kB / 1.348 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/2.711, allocations: 1.606 MB / 1.35 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005675/2.717, allocations: 0.5936 MB / 1.35 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/2.737, allocations: 8.988 MB / 1.359 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007213/2.745, allocations: 366.6 kB / 1.36 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008376/2.745, allocations: 93.19 kB / 1.36 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/2.746, allocations: 8.359 kB / 1.36 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01193/2.757, allocations: 3.674 MB / 1.363 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/2.758, allocations: 3.969 kB / 1.363 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006411/2.764, allocations: 1.411 MB / 1.365 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00592/2.77, allocations: 0.6358 MB / 1.365 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02717/2.797, allocations: 11.76 MB / 1.377 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0074/2.805, allocations: 367.6 kB / 1.377 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008021/2.805, allocations: 87.91 kB / 1.377 GB, free: 153.1 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0009382/2.806, allocations: 157.7 kB / 1.377 GB, free: 153 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/2.808, allocations: 304.6 kB / 1.378 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/2.809, allocations: 341.7 kB / 1.378 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/2.809, allocations: 25.44 kB / 1.378 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-05/2.809, allocations: 11.88 kB / 1.378 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/2.809, allocations: 14.27 kB / 1.378 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006714/2.816, allocations: 2.806 MB / 1.381 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/2.816, allocations: 0 / 1.381 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005074/2.821, allocations: 0.5212 MB / 1.381 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009981/2.831, allocations: 1.629 MB / 1.383 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006158/2.832, allocations: 18.47 kB / 1.383 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03037/2.862, allocations: 13.34 MB / 1.396 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/2.862, allocations: 0 / 1.396 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/2.876, allocations: 4.179 MB / 1.4 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00277/2.879, allocations: 0.6389 MB / 1.401 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/2.88, allocations: 4.5 kB / 1.401 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006686/2.887, allocations: 370.6 kB / 1.401 GB, free: 135 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001508/2.889, allocations: 314.5 kB / 1.401 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004028/2.889, allocations: 66.28 kB / 1.401 GB, free: 134.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002859/2.892, allocations: 1.163 MB / 1.402 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.82e-07/2.892, allocations: 0 / 1.402 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.008647/2.901, allocations: 1.398 MB / 1.404 GB, free: 132.3 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 (128): * Single equations (assignments): 116 * 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 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009208/2.902, allocations: 140.2 kB / 1.404 GB, free: 132.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0257/2.927, allocations: 7.365 MB / 1.411 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/2.927, allocations: 4 kB / 1.411 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009001/2.936, allocations: 2.684 MB / 1.414 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007255/2.944, allocations: 0.8726 MB / 1.415 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/2.959, allocations: 4.774 MB / 1.419 GB, free: 118 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002986/2.962, allocations: 2.322 MB / 1.422 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.006764/2.969, allocations: 0.7196 MB / 1.422 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001153/2.97, allocations: 145.1 kB / 1.422 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/2.97, allocations: 0 / 1.422 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.1605/3.13, allocations: 69.3 MB / 1.49 GB, free: 48.4 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)