Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") [: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.145/2.145, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001579/0.001578, allocations: 189.2 kB / 360.4 MB, free: 7.535 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.634/1.634, allocations: 205.2 MB / 0.6188 GB, free: 13.18 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.001248/0.001247, allocations: 90.34 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.494e-06, allocations: 0 / 0.8502 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5414, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2586/0.8, allocations: 179.4 MB / 1.138 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.8004, allocations: 93.02 kB / 1.138 GB, free: 9.207 MB / 0.7448 GB [/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);. [/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.139/0.9394, allocations: 36.24 MB / 1.173 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.097e-05/0.9395, allocations: 23.92 kB / 1.173 GB, free: 4.723 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002364/0.9419, allocations: 0.9114 MB / 1.174 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.9419, allocations: 12.53 kB / 1.174 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006242/0.9482, allocations: 0.6194 MB / 1.175 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001943/0.9502, allocations: 0.5895 MB / 1.176 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.9502, allocations: 19.19 kB / 1.176 GB, free: 2.488 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.9504, allocations: 32 kB / 1.176 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002046/0.9524, allocations: 0.7225 MB / 1.176 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.9544, allocations: 0.8046 MB / 1.177 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.9545, allocations: 7.938 kB / 1.177 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.9546, allocations: 0 / 1.177 GB, free: 0.875 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.587e-05/0.9547, allocations: 45.28 kB / 1.177 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006943/0.9616, allocations: 3.443 MB / 1.181 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.9624, allocations: 272.6 kB / 1.181 GB, free: 12.83 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.9629, allocations: 176.8 kB / 1.181 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.963, allocations: 4 kB / 1.181 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.963, allocations: 38.56 kB / 1.181 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=31): time 2.886e-06/0.963, allocations: 3.938 kB / 1.181 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=43): time 0.004686/0.9677, allocations: 1.143 MB / 1.182 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.9678, allocations: 134.5 kB / 1.182 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007268/0.9685, allocations: 394.1 kB / 1.183 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.9686, allocations: 25.7 kB / 1.183 GB, free: 10.85 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.9688, allocations: 291.8 kB / 1.183 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.969, allocations: 137.9 kB / 1.183 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.9691, allocations: 4 kB / 1.183 GB, free: 10.41 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.9693, allocations: 370.8 kB / 1.183 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/0.9698, allocations: 181 kB / 1.184 GB, free: 9.863 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.9704, allocations: 314.7 kB / 1.184 GB, free: 9.5 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.971, allocations: 225.5 kB / 1.184 GB, free: 9.281 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9711, allocations: 0 / 1.184 GB, free: 9.281 MB / 0.7917 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002725/0.9738, allocations: 0.7368 MB / 1.185 GB, free: 8.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005102/0.9743, allocations: 1.225 MB / 1.186 GB, free: 7.199 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.9744, allocations: 4 kB / 1.186 GB, free: 7.195 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.9761, allocations: 229 kB / 1.186 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.9773, allocations: 143.8 kB / 1.186 GB, free: 6.812 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.9835, allocations: 5.712 MB / 1.192 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.9847, allocations: 48.02 kB / 1.192 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.9848, allocations: 23.91 kB / 1.192 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.9848, allocations: 6.812 kB / 1.192 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00231/0.9871, allocations: 1.026 MB / 1.193 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9872, allocations: 5.875 kB / 1.193 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.9878, allocations: 141.3 kB / 1.193 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.9891, allocations: 152.9 kB / 1.193 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/0.996, allocations: 7.456 MB / 1.201 GB, free: 7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.9971, allocations: 55.98 kB / 1.201 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.9972, allocations: 20.73 kB / 1.201 GB, free: 6.926 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002326/0.9974, allocations: 128.6 kB / 1.201 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.9976, allocations: 59.25 kB / 1.201 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.9978, allocations: 69.41 kB / 1.201 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.9979, allocations: 4 kB / 1.201 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.9979, allocations: 0 / 1.201 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.9979, allocations: 4 kB / 1.201 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.999, allocations: 0.5612 MB / 1.201 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.999, allocations: 0 / 1.201 GB, free: 6.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/1, allocations: 115.8 kB / 1.202 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001534/1.002, allocations: 233 kB / 1.202 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/1.002, allocations: 0 / 1.202 GB, free: 5.703 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008699/1.01, allocations: 7.932 MB / 1.21 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.01, allocations: 0.8125 kB / 1.21 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002467/1.013, allocations: 0.7536 MB / 1.21 GB, free: 12.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/1.013, allocations: 173.5 kB / 1.21 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/1.014, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/1.015, allocations: 59.86 kB / 1.211 GB, free: 12.05 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/1.015, allocations: 23.95 kB / 1.211 GB, free: 12.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/1.015, allocations: 13.31 kB / 1.211 GB, free: 12.02 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005414/1.015, allocations: 299 kB / 1.211 GB, free: 11.73 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001452/1.017, allocations: 252 kB / 1.211 GB, free: 11.48 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002402/1.017, allocations: 115.2 kB / 1.211 GB, free: 11.36 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003702/1.021, allocations: 1.7 MB / 1.213 GB, free: 9.57 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.021, allocations: 0 / 1.213 GB, free: 9.57 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/1.022, allocations: 0.8586 MB / 1.214 GB, free: 8.652 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/1.024, allocations: 169.5 kB / 1.214 GB, free: 8.492 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/1.027, allocations: 0.9203 MB / 1.215 GB, free: 7.547 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001026/1.028, allocations: 1.025 MB / 1.216 GB, free: 6.492 MB / 0.823 GB Notification: Performance of SimCode: time 8.92e-07/1.028, allocations: 0 / 1.216 GB, free: 6.492 MB / 0.823 GB Notification: Performance of Templates: time 0.03728/1.065, allocations: 14.06 MB / 1.229 GB, free: 8.684 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)