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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.167/2.167, allocations: 284.9 MB / 292.2 MB, free: 10.78 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.001505/0.001504, allocations: 173.3 kB / 360.4 MB, free: 7.539 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.619/1.619, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001225/0.001224, allocations: 92.72 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.917e-06, allocations: 0 / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5506/0.5506, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2728/0.8235, allocations: 188.7 MB / 1.147 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.8239, allocations: 87.78 kB / 1.147 GB, free: 15.9 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: time 0.9305/1.754, allocations: 146.4 MB / 1.29 GB, free: 192.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003478/1.755, allocations: 87.08 kB / 1.29 GB, free: 192.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.01255/1.767, allocations: 3.505 MB / 1.294 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.767, allocations: 8.094 kB / 1.294 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02928/1.797, allocations: 3.183 MB / 1.297 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008282/1.805, allocations: 2.327 MB / 1.299 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/1.805, allocations: 76.88 kB / 1.299 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009359/1.806, allocations: 134.1 kB / 1.299 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01036/1.816, allocations: 3.513 MB / 1.303 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/1.827, allocations: 3.575 MB / 1.306 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.838e-05/1.827, allocations: 0 / 1.306 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005148/1.828, allocations: 3.938 kB / 1.306 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001655/1.828, allocations: 156.7 kB / 1.306 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03303/1.861, allocations: 14.03 MB / 1.32 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/1.864, allocations: 1.073 MB / 1.321 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00238/1.866, allocations: 1.034 MB / 1.322 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/1.866, allocations: 27.23 kB / 1.322 GB, free: 181 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002754/1.869, allocations: 1.287 MB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 5.2e-06/1.869, allocations: 1.312 kB / 1.323 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.03355/1.902, allocations: 7.727 MB / 1.331 GB, free: 177.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002708/1.903, allocations: 0.9022 MB / 1.332 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/1.907, allocations: 1.56 MB / 1.333 GB, free: 176 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006407/1.907, allocations: 31.58 kB / 1.333 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009975/1.908, allocations: 0.9628 MB / 1.334 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001295/1.91, allocations: 0.7848 MB / 1.335 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/1.91, allocations: 1.094 kB / 1.335 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.91, allocations: 402.6 kB / 1.335 GB, free: 174.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003494/1.914, allocations: 1.249 MB / 1.337 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004/1.918, allocations: 1.617 MB / 1.338 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/1.921, allocations: 1.341 MB / 1.34 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/1.921, allocations: 1.156 kB / 1.34 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01684/1.938, allocations: 4.423 MB / 1.344 GB, free: 170.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000443/1.939, allocations: 2.274 MB / 1.346 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/1.939, allocations: 4.875 kB / 1.346 GB, free: 168.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01092/1.95, allocations: 1.624 MB / 1.348 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006145/1.956, allocations: 0.6434 MB / 1.348 GB, free: 168 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/1.978, allocations: 8.713 MB / 1.357 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007495/1.985, allocations: 414.7 kB / 1.357 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006494/1.986, allocations: 91.94 kB / 1.357 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/1.986, allocations: 2.625 kB / 1.357 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01236/1.999, allocations: 3.692 MB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.999, allocations: 2.875 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006841/2.005, allocations: 1.427 MB / 1.362 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006282/2.012, allocations: 0.6871 MB / 1.363 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02846/2.04, allocations: 11.14 MB / 1.374 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006601/2.047, allocations: 413.3 kB / 1.374 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003744/2.047, allocations: 97.19 kB / 1.374 GB, free: 155.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.0008199/2.048, allocations: 158.1 kB / 1.374 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006696/2.049, allocations: 307 kB / 1.375 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009937/2.05, allocations: 327 kB / 1.375 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/2.05, allocations: 27.83 kB / 1.375 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.07e-05/2.05, allocations: 9.156 kB / 1.375 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.348e-05/2.05, allocations: 12.36 kB / 1.375 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005248/2.055, allocations: 2.844 MB / 1.378 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/2.055, allocations: 0 / 1.378 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005135/2.06, allocations: 0.5679 MB / 1.378 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/2.071, allocations: 1.657 MB / 1.38 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005546/2.071, allocations: 15.12 kB / 1.38 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03138/2.103, allocations: 12.66 MB / 1.392 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/2.103, allocations: 0 / 1.392 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01432/2.117, allocations: 4.231 MB / 1.397 GB, free: 136.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/2.12, allocations: 0.6389 MB / 1.397 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/2.121, allocations: 12.88 kB / 1.397 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006339/2.127, allocations: 419.1 kB / 1.398 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008842/2.128, allocations: 232.6 kB / 1.398 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003241/2.128, allocations: 72.25 kB / 1.398 GB, free: 135.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002424/2.131, allocations: 1.167 MB / 1.399 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005744/2.136, allocations: 1.355 MB / 1.4 GB, free: 133.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.0005673/2.137, allocations: 144.7 kB / 1.401 GB, free: 133.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02256/2.16, allocations: 6.905 MB / 1.407 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/2.16, allocations: 7.781 kB / 1.407 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.008429/2.168, allocations: 2.48 MB / 1.41 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006317/2.175, allocations: 0.8342 MB / 1.411 GB, free: 124 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/2.191, allocations: 5.197 MB / 1.416 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003976/2.195, allocations: 2.416 MB / 1.418 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/2.196, allocations: 1.125 kB / 1.418 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.1827/2.378, allocations: 85.18 MB / 1.501 GB, free: 34.72 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)