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.595/2.595, allocations: 287.5 MB / 302.5 MB, free: 8.348 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.001522/0.001522, allocations: 181.1 kB / 371 MB, free: 10.77 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.4 MB / 0.6297 GB, free: 10.49 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.001084/0.001084, allocations: 101.8 kB / 0.743 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004951, allocations: 11.75 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2316, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9756/1.207, allocations: 189.6 MB / 1.164 GB, free: 10.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/1.208, allocations: 98.38 kB / 1.164 GB, free: 10.85 MB / 0.698 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 0.6611/1.869, allocations: 149.6 MB / 1.31 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.846e-06/1.869, allocations: 0 / 1.31 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004661/1.869, allocations: 83.88 kB / 1.31 GB, free: 14.66 MB / 0.8386 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.01843/1.888, allocations: 4.209 MB / 1.314 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.888, allocations: 12.03 kB / 1.314 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02901/1.917, allocations: 3.233 MB / 1.317 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01217/1.929, allocations: 2.576 MB / 1.32 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006947/1.93, allocations: 462.4 kB / 1.32 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001564/1.931, allocations: 236 kB / 1.32 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/1.953, allocations: 4.813 MB / 1.325 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.652e-05/1.954, allocations: 7.938 kB / 1.325 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/1.955, allocations: 104 kB / 1.325 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002903/1.955, allocations: 144.8 kB / 1.325 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02819/1.983, allocations: 5.3 MB / 1.33 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/2.026, allocations: 14.87 MB / 1.345 GB, free: 9.117 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/2.046, allocations: 3.638 MB / 1.348 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003479/2.046, allocations: 29.28 kB / 1.348 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008644/2.055, allocations: 1.908 MB / 1.35 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 5.601e-06/2.055, allocations: 0 / 1.35 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.2707/2.326, allocations: 34.33 MB / 1.384 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000548/2.326, allocations: 0.8983 MB / 1.385 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005301/2.332, allocations: 1.989 MB / 1.387 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000744/2.332, allocations: 77.7 kB / 1.387 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002281/2.335, allocations: 1.434 MB / 1.388 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001642/2.336, allocations: 0.8202 MB / 1.389 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005084/2.337, allocations: 44 kB / 1.389 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002609/2.337, allocations: 394.7 kB / 1.389 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01104/2.348, allocations: 2.112 MB / 1.391 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/2.36, allocations: 2.503 MB / 1.394 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/2.371, allocations: 2.301 MB / 1.396 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/2.371, allocations: 4 kB / 1.396 GB, free: 3.898 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.04277/2.414, allocations: 6.911 MB / 1.403 GB, free: 12.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.414, allocations: 156.4 kB / 1.403 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/2.414, allocations: 8 kB / 1.403 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01946/2.434, allocations: 2.954 MB / 1.406 GB, free: 9.746 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005801/2.44, allocations: 0.5695 MB / 1.406 GB, free: 9.176 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07561/2.515, allocations: 18.16 MB / 1.424 GB, free: 6.781 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007797/2.523, allocations: 431.4 kB / 1.425 GB, free: 6.359 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008285/2.524, allocations: 87.98 kB / 1.425 GB, free: 6.273 MB / 0.948 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 () * Number of clocked 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.00326/2.527, allocations: 0.7109 MB / 1.425 GB, free: 5.555 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001307/2.529, allocations: 336.1 kB / 1.426 GB, free: 5.223 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/2.53, allocations: 388.1 kB / 1.426 GB, free: 4.836 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.365e-05/2.53, allocations: 24 kB / 1.426 GB, free: 4.812 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.623e-05/2.53, allocations: 8 kB / 1.426 GB, free: 4.805 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.534e-05/2.53, allocations: 16.14 kB / 1.426 GB, free: 4.789 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009738/2.54, allocations: 3.643 MB / 1.43 GB, free: 1.086 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/2.54, allocations: 3.938 kB / 1.43 GB, free: 1.082 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005177/2.545, allocations: 0.5072 MB / 1.43 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6973/3.243, allocations: 2.858 MB / 1.433 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006486/3.244, allocations: 50.09 kB / 1.433 GB, free: 252.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07164/3.315, allocations: 17.98 MB / 1.451 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/3.315, allocations: 1.438 kB / 1.451 GB, free: 249.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03603/3.351, allocations: 6.546 MB / 1.457 GB, free: 249.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/3.355, allocations: 0.7029 MB / 1.458 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001649/3.356, allocations: 55.06 kB / 1.458 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007644/3.364, allocations: 414.7 kB / 1.458 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0027/3.367, allocations: 367.1 kB / 1.458 GB, free: 249.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006956/3.367, allocations: 71.11 kB / 1.459 GB, free: 249.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005103/3.373, allocations: 1.52 MB / 1.46 GB, free: 249 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.052e-06/3.373, allocations: 0 / 1.46 GB, free: 249 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006465/3.379, allocations: 1.065 MB / 1.461 GB, free: 249 MB / 0.948 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) * Number of clocked states: 0 () * 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.001141/3.38, allocations: 178.5 kB / 1.461 GB, free: 249 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.06094/3.441, allocations: 6.835 MB / 1.468 GB, free: 248.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/3.441, allocations: 3.375 kB / 1.468 GB, free: 248.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.03341/3.475, allocations: 4.206 MB / 1.472 GB, free: 247.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00817/3.483, allocations: 1.014 MB / 1.473 GB, free: 247.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/3.52, allocations: 7.754 MB / 1.481 GB, free: 244.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005428/3.525, allocations: 2.298 MB / 1.483 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.007183/3.533, allocations: 0.5122 MB / 1.483 GB, free: 244.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/3.535, allocations: 175.1 kB / 1.484 GB, free: 244.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.993e-06/3.535, allocations: 0 / 1.484 GB, free: 244.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1859/3.721, allocations: 71.29 MB / 1.553 GB, free: 237.5 MB / 0.948 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)