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.501/2.501, allocations: 285 MB / 292.5 MB, free: 10.56 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.002191/0.002191, allocations: 188.8 kB / 360.8 MB, free: 7.258 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 1.983/1.983, 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.001009/0.001009, allocations: 87.47 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.907e-05, allocations: 4 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7876/0.7876, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/1.098, allocations: 188.9 MB / 1.148 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.098, allocations: 90.09 kB / 1.148 GB, free: 15.41 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.304/2.402, allocations: 148.1 MB / 1.293 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.615e-06/2.402, allocations: 1.25 kB / 1.293 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005511/2.403, allocations: 77.91 kB / 1.293 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.01823/2.421, allocations: 3.695 MB / 1.296 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/2.421, allocations: 9.156 kB / 1.296 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02884/2.45, allocations: 3.212 MB / 1.299 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01344/2.463, allocations: 2.562 MB / 1.302 GB, free: 190 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/2.464, allocations: 385.4 kB / 1.302 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/2.466, allocations: 144.3 kB / 1.302 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01214/2.478, allocations: 3.447 MB / 1.306 GB, free: 189.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/2.494, allocations: 3.599 MB / 1.309 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/2.494, allocations: 1.188 kB / 1.309 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001623/2.496, allocations: 10.05 kB / 1.309 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003315/2.496, allocations: 144.9 kB / 1.309 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04978/2.546, allocations: 14.34 MB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/2.559, allocations: 2.61 MB / 1.326 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/2.562, allocations: 1.064 MB / 1.327 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000268/2.563, allocations: 24.38 kB / 1.327 GB, free: 179 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004362/2.567, allocations: 1.377 MB / 1.328 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 7.654e-06/2.567, allocations: 3.625 kB / 1.328 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.04552/2.613, allocations: 8.495 MB / 1.337 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002834/2.613, allocations: 0.8974 MB / 1.338 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/2.616, allocations: 1.555 MB / 1.339 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007135/2.617, allocations: 41.27 kB / 1.339 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001822/2.619, allocations: 1.449 MB / 1.341 GB, free: 172.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/2.62, allocations: 0.7854 MB / 1.341 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/2.621, allocations: 0 / 1.341 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001665/2.621, allocations: 396.1 kB / 1.342 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/2.625, allocations: 1.359 MB / 1.343 GB, free: 171 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003967/2.629, allocations: 1.734 MB / 1.345 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003487/2.632, allocations: 1.429 MB / 1.346 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.956e-05/2.632, allocations: 0 / 1.346 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01975/2.652, allocations: 5.091 MB / 1.351 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/2.652, allocations: 147.9 kB / 1.351 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/2.652, allocations: 4.797 kB / 1.351 GB, free: 167.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01636/2.668, allocations: 2.8 MB / 1.354 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005524/2.674, allocations: 0.5708 MB / 1.355 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05627/2.73, allocations: 16.39 MB / 1.371 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007628/2.738, allocations: 384.4 kB / 1.371 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007926/2.739, allocations: 91.67 kB / 1.371 GB, free: 158.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.0008206/2.74, allocations: 146.7 kB / 1.371 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/2.741, allocations: 300.3 kB / 1.371 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009782/2.742, allocations: 333.6 kB / 1.372 GB, free: 158 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/2.742, allocations: 32.78 kB / 1.372 GB, free: 158 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.569e-05/2.742, allocations: 11 kB / 1.372 GB, free: 158 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/2.742, allocations: 9.703 kB / 1.372 GB, free: 158 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007307/2.749, allocations: 3.266 MB / 1.375 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/2.749, allocations: 3.953 kB / 1.375 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004938/2.754, allocations: 0.5092 MB / 1.375 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01599/2.77, allocations: 2.76 MB / 1.378 GB, free: 156 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006877/2.771, allocations: 19.39 kB / 1.378 GB, free: 156 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05571/2.827, allocations: 16.4 MB / 1.394 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/2.827, allocations: 0 / 1.394 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01879/2.846, allocations: 4.893 MB / 1.399 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/2.849, allocations: 0.6725 MB / 1.4 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/2.85, allocations: 11.8 kB / 1.4 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007089/2.857, allocations: 389.9 kB / 1.4 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002132/2.859, allocations: 361.8 kB / 1.4 GB, free: 137.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003953/2.86, allocations: 74.14 kB / 1.4 GB, free: 137.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.002501/2.862, allocations: 1.16 MB / 1.402 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.01e-07/2.862, allocations: 4 kB / 1.402 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005122/2.867, allocations: 0.9414 MB / 1.402 GB, free: 135.6 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.0007648/2.868, allocations: 137.2 kB / 1.403 GB, free: 135.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02897/2.897, allocations: 5.199 MB / 1.408 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/2.897, allocations: 4.75 kB / 1.408 GB, free: 130.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02489/2.922, allocations: 3.347 MB / 1.411 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006991/2.929, allocations: 0.8792 MB / 1.412 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/2.944, allocations: 4.894 MB / 1.417 GB, free: 122.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002941/2.947, allocations: 2.296 MB / 1.419 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004255/2.951, allocations: 487.9 kB / 1.419 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/2.952, allocations: 163.4 kB / 1.419 GB, free: 120 MB / 0.8542 GB Notification: Performance of SimCode: time 1.363e-06/2.952, allocations: 0 / 1.419 GB, free: 120 MB / 0.8542 GB Notification: Performance of Templates: time 0.1547/3.107, allocations: 65.41 MB / 1.483 GB, free: 55.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)