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.547/2.547, allocations: 284.8 MB / 297.3 MB, free: 6.336 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.001466/0.001466, allocations: 188.8 kB / 365.7 MB, free: 2.555 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.096/2.096, allocations: 205.2 MB / 0.6241 GB, free: 8.164 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.001129/0.001129, allocations: 94.77 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.403e-05/4.451e-05, allocations: 11.98 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8356, allocations: 115.2 MB / 0.97 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3148/1.15, allocations: 189.5 MB / 1.155 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/1.151, allocations: 87.95 kB / 1.155 GB, free: 10.73 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.28/2.431, allocations: 147.5 MB / 1.299 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.164e-06/2.431, allocations: 0 / 1.299 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004693/2.432, allocations: 86.77 kB / 1.299 GB, free: 194.8 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.01426/2.446, allocations: 3.421 MB / 1.303 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/2.446, allocations: 9.812 kB / 1.303 GB, free: 193.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02828/2.474, allocations: 3.207 MB / 1.306 GB, free: 192.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/2.485, allocations: 2.303 MB / 1.308 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000271/2.485, allocations: 179.1 kB / 1.308 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001503/2.487, allocations: 232 kB / 1.308 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/2.5, allocations: 3.821 MB / 1.312 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.231e-05/2.5, allocations: 1.094 kB / 1.312 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006918/2.5, allocations: 104.2 kB / 1.312 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002637/2.501, allocations: 148.8 kB / 1.312 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/2.512, allocations: 3.53 MB / 1.316 GB, free: 191.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0345/2.547, allocations: 14.37 MB / 1.33 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/2.558, allocations: 2.842 MB / 1.333 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/2.561, allocations: 1.051 MB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/2.561, allocations: 21.11 kB / 1.334 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002918/2.564, allocations: 1.362 MB / 1.335 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.24e-06/2.564, allocations: 3.969 kB / 1.335 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.2489/2.813, allocations: 28.98 MB / 1.363 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000367/2.814, allocations: 0.893 MB / 1.364 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007092/2.821, allocations: 1.953 MB / 1.366 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008822/2.822, allocations: 79.23 kB / 1.366 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/2.824, allocations: 1.438 MB / 1.368 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/2.826, allocations: 0.8232 MB / 1.368 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000523/2.826, allocations: 46.12 kB / 1.368 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002338/2.827, allocations: 394.4 kB / 1.369 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005503/2.832, allocations: 1.257 MB / 1.37 GB, free: 170.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006401/2.839, allocations: 1.645 MB / 1.372 GB, free: 168.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005908/2.845, allocations: 1.478 MB / 1.373 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.067e-05/2.845, allocations: 4 kB / 1.373 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02507/2.87, allocations: 4.768 MB / 1.378 GB, free: 163 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007617/2.871, allocations: 2.455 MB / 1.38 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/2.871, allocations: 11.94 kB / 1.38 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0152/2.886, allocations: 1.761 MB / 1.382 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008076/2.894, allocations: 0.5879 MB / 1.382 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02344/2.918, allocations: 9.055 MB / 1.391 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/2.929, allocations: 415.6 kB / 1.392 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/2.93, allocations: 87.97 kB / 1.392 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/2.931, allocations: 4 kB / 1.392 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02376/2.954, allocations: 4.371 MB / 1.396 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.984e-05/2.954, allocations: 8 kB / 1.396 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01323/2.968, allocations: 1.759 MB / 1.398 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009018/2.977, allocations: 0.6163 MB / 1.398 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05075/3.028, allocations: 13.26 MB / 1.411 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/3.038, allocations: 419.4 kB / 1.412 GB, free: 128 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009654/3.039, allocations: 91.97 kB / 1.412 GB, free: 127.9 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.001462/3.04, allocations: 251.3 kB / 1.412 GB, free: 127.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001597/3.042, allocations: 336.1 kB / 1.412 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/3.044, allocations: 392.1 kB / 1.413 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-05/3.044, allocations: 24 kB / 1.413 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.449e-05/3.044, allocations: 8 kB / 1.413 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-05/3.044, allocations: 15.78 kB / 1.413 GB, free: 126.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/3.055, allocations: 3.18 MB / 1.416 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.74e-05/3.055, allocations: 4 kB / 1.416 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007427/3.063, allocations: 0.5189 MB / 1.416 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01501/3.078, allocations: 1.656 MB / 1.418 GB, free: 121.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008231/3.079, allocations: 55.97 kB / 1.418 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05043/3.129, allocations: 13.74 MB / 1.431 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/3.129, allocations: 0 / 1.431 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02388/3.153, allocations: 4.418 MB / 1.436 GB, free: 103 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002915/3.156, allocations: 0.6727 MB / 1.436 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001393/3.158, allocations: 47.95 kB / 1.436 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006829/3.164, allocations: 407.5 kB / 1.437 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001558/3.166, allocations: 306.6 kB / 1.437 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004499/3.167, allocations: 67.97 kB / 1.437 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003541/3.17, allocations: 1.49 MB / 1.439 GB, free: 99.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.72e-07/3.17, allocations: 4 kB / 1.439 GB, free: 99.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007887/3.178, allocations: 1.582 MB / 1.44 GB, free: 98.39 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.0008962/3.179, allocations: 197.5 kB / 1.44 GB, free: 98.19 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02405/3.203, allocations: 7.712 MB / 1.448 GB, free: 90.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/3.203, allocations: 4 kB / 1.448 GB, free: 90.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.009314/3.212, allocations: 2.794 MB / 1.451 GB, free: 87.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007948/3.22, allocations: 1.01 MB / 1.452 GB, free: 86.53 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/3.235, allocations: 4.911 MB / 1.456 GB, free: 81.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00356/3.238, allocations: 2.34 MB / 1.459 GB, free: 79.21 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.008585/3.247, allocations: 0.7644 MB / 1.459 GB, free: 78.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/3.248, allocations: 147.4 kB / 1.46 GB, free: 78.36 MB / 0.8542 GB Notification: Performance of SimCode: time 1.523e-06/3.248, allocations: 0 / 1.46 GB, free: 78.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.2008/3.449, allocations: 76.82 MB / 1.535 GB, free: 2.715 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)