Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.334/1.334, allocations: 285.5 MB / 292.8 MB, free: 10.49 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 181.2 kB / 361.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9986/0.9986, allocations: 205.1 MB / 0.6195 GB, free: 10.31 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007817/0.0007817, allocations: 97.45 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.19e-06/5.2e-06, allocations: 0 / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3818, allocations: 115.3 MB / 0.9637 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1664/0.5482, allocations: 189 MB / 1.148 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.5485, allocations: 92.64 kB / 1.148 GB, free: 14.87 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.6255/1.174, allocations: 148.1 MB / 1.293 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002567/1.174, allocations: 78.45 kB / 1.293 GB, free: 126.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.008706/1.183, allocations: 3.784 MB / 1.297 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/1.183, allocations: 8.312 kB / 1.297 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01592/1.199, allocations: 3.193 MB / 1.3 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/1.205, allocations: 2.573 MB / 1.302 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/1.205, allocations: 391 kB / 1.303 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006564/1.206, allocations: 134.3 kB / 1.303 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005201/1.211, allocations: 3.594 MB / 1.306 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/1.216, allocations: 3.682 MB / 1.31 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/1.216, allocations: 6.312 kB / 1.31 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/1.217, allocations: 3.875 kB / 1.31 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-05/1.217, allocations: 150.4 kB / 1.31 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01714/1.234, allocations: 14.54 MB / 1.324 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/1.235, allocations: 1.13 MB / 1.325 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/1.236, allocations: 1.104 MB / 1.326 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/1.237, allocations: 22.89 kB / 1.326 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/1.238, allocations: 1.375 MB / 1.328 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 3.447e-06/1.238, allocations: 0 / 1.328 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.02028/1.258, allocations: 8.686 MB / 1.336 GB, free: 114.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/1.258, allocations: 0.9015 MB / 1.337 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/1.261, allocations: 1.556 MB / 1.339 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/1.261, allocations: 40.78 kB / 1.339 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006024/1.261, allocations: 0.9541 MB / 1.34 GB, free: 113 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006172/1.262, allocations: 0.7842 MB / 1.34 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/1.262, allocations: 3.906 kB / 1.34 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001014/1.262, allocations: 401.9 kB / 1.341 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/1.264, allocations: 1.404 MB / 1.342 GB, free: 112.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/1.266, allocations: 1.784 MB / 1.344 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001755/1.268, allocations: 1.476 MB / 1.345 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.268, allocations: 7.625 kB / 1.345 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01004/1.278, allocations: 5.145 MB / 1.35 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.278, allocations: 7.844 kB / 1.35 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.278, allocations: 3.969 kB / 1.35 GB, free: 111.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008394/1.286, allocations: 2.758 MB / 1.353 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.289, allocations: 0.6255 MB / 1.354 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/1.317, allocations: 15.47 MB / 1.369 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/1.321, allocations: 428.8 kB / 1.369 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/1.322, allocations: 85.81 kB / 1.369 GB, free: 108.3 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.0005405/1.322, allocations: 169.5 kB / 1.369 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/1.323, allocations: 304.6 kB / 1.37 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/1.323, allocations: 315.5 kB / 1.37 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/1.323, allocations: 27.34 kB / 1.37 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/1.323, allocations: 11.72 kB / 1.37 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.323, allocations: 10.69 kB / 1.37 GB, free: 108 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003719/1.327, allocations: 3.321 MB / 1.373 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.327, allocations: 0 / 1.373 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/1.33, allocations: 0.5589 MB / 1.374 GB, free: 107.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008105/1.338, allocations: 2.732 MB / 1.377 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/1.338, allocations: 25.56 kB / 1.377 GB, free: 107.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02777/1.366, allocations: 15.47 MB / 1.392 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.366, allocations: 1 kB / 1.392 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009987/1.376, allocations: 4.965 MB / 1.397 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.377, allocations: 0.6825 MB / 1.397 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007628/1.378, allocations: 5.906 kB / 1.397 GB, free: 100.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00335/1.381, allocations: 428.8 kB / 1.398 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000646/1.382, allocations: 271.6 kB / 1.398 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/1.382, allocations: 68.56 kB / 1.398 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001529/1.384, allocations: 1.163 MB / 1.399 GB, free: 99.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002344/1.386, allocations: 0.8956 MB / 1.4 GB, free: 99.62 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.0003701/1.386, allocations: 145.7 kB / 1.4 GB, free: 99.51 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01489/1.401, allocations: 4.926 MB / 1.405 GB, free: 97.68 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/1.401, allocations: 6.719 kB / 1.405 GB, free: 97.68 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01273/1.414, allocations: 3.178 MB / 1.408 GB, free: 96.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003434/1.418, allocations: 0.838 MB / 1.409 GB, free: 96.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/1.428, allocations: 5.205 MB / 1.414 GB, free: 94.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002471/1.431, allocations: 2.407 MB / 1.416 GB, free: 92.42 MB / 0.8542 GB Notification: Performance of SimCode: time 3.9e-07/1.431, allocations: 4 kB / 1.416 GB, free: 92.41 MB / 0.8542 GB Notification: Performance of Templates: time 0.08037/1.511, allocations: 71.3 MB / 1.486 GB, free: 23.93 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)