Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.727/1.727, allocations: 287.5 MB / 302.6 MB, free: 8.238 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: 183 kB / 371.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.4 MB / 0.6299 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007678/0.0007678, allocations: 86.61 kB / 0.7432 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004275, allocations: 14.3 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.234, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01578/0.2498, allocations: 20.26 MB / 0.9985 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02157/0.2714, allocations: 16.5 MB / 1.015 GB, free: 7.328 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004247/0.2757, allocations: 103.4 kB / 1.015 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003541/0.2793, allocations: 0.5657 MB / 1.015 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01302/0.2923, allocations: 2.868 MB / 1.018 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.296, allocations: 0.9505 MB / 1.019 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009436/0.3055, allocations: 5.96 MB / 1.025 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005293/0.3108, allocations: 2.55 MB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00455/0.3154, allocations: 1.969 MB / 1.029 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004776/0.3202, allocations: 2.218 MB / 1.031 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001103/0.3213, allocations: 176 kB / 1.032 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.3235, allocations: 0.4994 MB / 1.032 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3245, allocations: 0.9498 MB / 1.033 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.3258, allocations: 0.6912 MB / 1.034 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.3303, allocations: 3.927 MB / 1.037 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3304, allocations: 4 kB / 1.037 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3304, allocations: 3.938 kB / 1.037 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001406/0.3305, allocations: 4 kB / 1.037 GB, free: 15.74 MB / 0.6667 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.01016/0.3407, allocations: 4.064 MB / 1.041 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3408, allocations: 8.031 kB / 1.041 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/0.3566, allocations: 3.367 MB / 1.045 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.3611, allocations: 2.084 MB / 1.047 GB, free: 6.027 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/0.3615, allocations: 470.3 kB / 1.047 GB, free: 5.504 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000483/0.362, allocations: 235.9 kB / 1.047 GB, free: 5.273 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/0.3723, allocations: 4.845 MB / 1.052 GB, free: 292 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.58e-05/0.3723, allocations: 7.938 kB / 1.052 GB, free: 284 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002836/0.3726, allocations: 112 kB / 1.052 GB, free: 172 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.3728, allocations: 168.8 kB / 1.052 GB, free: 0 / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.3857, allocations: 5.296 MB / 1.058 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4872/0.8729, allocations: 14.6 MB / 1.072 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.8847, allocations: 3.674 MB / 1.075 GB, free: 78.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004559/0.8893, allocations: 1.592 MB / 1.077 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.8895, allocations: 22.56 kB / 1.077 GB, free: 77.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005091/0.8946, allocations: 1.914 MB / 1.079 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.773e-06/0.8947, allocations: 3.906 kB / 1.079 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1322/1.027, allocations: 34.1 MB / 1.112 GB, free: 67.42 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/1.027, allocations: 0.4891 MB / 1.113 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003392/1.03, allocations: 2.283 MB / 1.115 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005919/1.031, allocations: 76.08 kB / 1.115 GB, free: 65.57 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001169/1.032, allocations: 1.43 MB / 1.116 GB, free: 64.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009169/1.033, allocations: 0.8302 MB / 1.117 GB, free: 63.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.033, allocations: 46.81 kB / 1.117 GB, free: 63.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.034, allocations: 392.5 kB / 1.118 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/1.038, allocations: 2.114 MB / 1.12 GB, free: 61.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004891/1.043, allocations: 2.403 MB / 1.122 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009338/1.053, allocations: 4.529 MB / 1.126 GB, free: 54.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/1.053, allocations: 4 kB / 1.126 GB, free: 54.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01651/1.069, allocations: 6.887 MB / 1.133 GB, free: 47.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/1.069, allocations: 152.5 kB / 1.133 GB, free: 47.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1.069, allocations: 8 kB / 1.133 GB, free: 47.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009255/1.079, allocations: 2.941 MB / 1.136 GB, free: 44.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/1.082, allocations: 0.5696 MB / 1.137 GB, free: 43.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03298/1.115, allocations: 17.32 MB / 1.154 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004068/1.119, allocations: 411.6 kB / 1.154 GB, free: 25.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/1.119, allocations: 96.67 kB / 1.154 GB, free: 25.61 MB / 0.6823 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,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001346/1.12, allocations: 0.7079 MB / 1.155 GB, free: 24.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000513/1.121, allocations: 328.1 kB / 1.155 GB, free: 24.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005435/1.122, allocations: 388.1 kB / 1.156 GB, free: 24.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/1.122, allocations: 20 kB / 1.156 GB, free: 24.17 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-05/1.122, allocations: 15.94 kB / 1.156 GB, free: 24.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.122, allocations: 11.95 kB / 1.156 GB, free: 24.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/1.126, allocations: 3.615 MB / 1.159 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.126, allocations: 4 kB / 1.159 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.128, allocations: 0.5032 MB / 1.16 GB, free: 20.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008419/1.136, allocations: 2.862 MB / 1.162 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004703/1.137, allocations: 52.84 kB / 1.162 GB, free: 17.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/1.167, allocations: 17.12 MB / 1.179 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.167, allocations: 0 / 1.179 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02397/1.191, allocations: 6.534 MB / 1.186 GB, free: 9.152 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002821/1.194, allocations: 0.6961 MB / 1.186 GB, free: 8.434 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/1.195, allocations: 47.98 kB / 1.186 GB, free: 8.387 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005335/1.201, allocations: 411.5 kB / 1.187 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001827/1.202, allocations: 370.5 kB / 1.187 GB, free: 7.625 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003858/1.203, allocations: 75.97 kB / 1.187 GB, free: 7.551 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003791/1.207, allocations: 1.511 MB / 1.189 GB, free: 6.043 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.207, allocations: 0 / 1.189 GB, free: 6.043 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005596/1.212, allocations: 1.043 MB / 1.19 GB, free: 5 MB / 0.698 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 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006026/1.213, allocations: 164.6 kB / 1.19 GB, free: 4.828 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.03026/1.243, allocations: 6.824 MB / 1.196 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.243, allocations: 4.75 kB / 1.196 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01634/1.26, allocations: 4.228 MB / 1.201 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005209/1.265, allocations: 1.028 MB / 1.202 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/1.28, allocations: 7.744 MB / 1.209 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002294/1.283, allocations: 2.231 MB / 1.211 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00277/1.286, allocations: 0.5099 MB / 1.212 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000686/1.286, allocations: 175.4 kB / 1.212 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of SimCode: time 1.112e-06/1.286, allocations: 0 / 1.212 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.1117/1.398, allocations: 70.13 MB / 1.28 GB, free: 8.48 MB / 0.7917 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)