Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.704/1.704, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001187/0.001187, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.498/1.498, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008425/0.0008425, allocations: 102.7 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 10.44 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01659/0.2496, allocations: 19.15 MB / 0.9981 GB, free: 8.492 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.2712, allocations: 16.06 MB / 1.014 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.275, allocations: 95.38 kB / 1.014 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.2776, allocations: 0.547 MB / 1.014 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.2886, allocations: 2.823 MB / 1.017 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003981/0.2926, allocations: 0.9389 MB / 1.018 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008042/0.3006, allocations: 3.338 MB / 1.021 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/0.3043, allocations: 2.021 MB / 1.023 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00377/0.3081, allocations: 1.713 MB / 1.025 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/0.3117, allocations: 1.759 MB / 1.027 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.3122, allocations: 164 kB / 1.027 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.3137, allocations: 475.4 kB / 1.027 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0007707/0.3145, allocations: 0.8527 MB / 1.028 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.3155, allocations: 0.6834 MB / 1.029 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00398/0.3195, allocations: 3.802 MB / 1.033 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3195, allocations: 0 / 1.033 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3195, allocations: 0 / 1.033 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001129/0.3197, allocations: 4 kB / 1.033 GB, free: 5.09 MB / 0.6511 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.007985/0.3276, allocations: 3.857 MB / 1.036 GB, free: 1.121 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3277, allocations: 12.02 kB / 1.036 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01641/0.3441, allocations: 3.405 MB / 1.04 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006414/0.3506, allocations: 1.968 MB / 1.042 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002178/0.3509, allocations: 180.7 kB / 1.042 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001036/0.3519, allocations: 228 kB / 1.042 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.3622, allocations: 4.709 MB / 1.047 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.3623, allocations: 0 / 1.047 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002789/0.3626, allocations: 112 kB / 1.047 GB, free: 6.297 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/0.3628, allocations: 172.8 kB / 1.047 GB, free: 6.125 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.3756, allocations: 5.222 MB / 1.052 GB, free: 0.8867 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02196/0.3976, allocations: 14.11 MB / 1.066 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5209/0.9185, allocations: 3.836 MB / 1.069 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.9188, allocations: 26.81 kB / 1.069 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005415/0.9242, allocations: 1.814 MB / 1.071 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5.48e-06/0.9243, allocations: 3 kB / 1.071 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1356/1.06, allocations: 33.39 MB / 1.104 GB, free: 73.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001772/1.06, allocations: 0.498 MB / 1.104 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003568/1.064, allocations: 2.273 MB / 1.107 GB, free: 71.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004023/1.064, allocations: 77.48 kB / 1.107 GB, free: 71.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.065, allocations: 1.434 MB / 1.108 GB, free: 70.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006759/1.066, allocations: 0.8207 MB / 1.109 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/1.066, allocations: 50.3 kB / 1.109 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.066, allocations: 401.8 kB / 1.109 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004468/1.071, allocations: 1.921 MB / 1.111 GB, free: 68.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/1.075, allocations: 2.209 MB / 1.113 GB, free: 66.97 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/1.08, allocations: 2.132 MB / 1.115 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.08, allocations: 0 / 1.115 GB, free: 65.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01395/1.094, allocations: 6.158 MB / 1.121 GB, free: 59.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005113/1.094, allocations: 2.453 MB / 1.124 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.094, allocations: 8 kB / 1.124 GB, free: 56.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005824/1.1, allocations: 1.845 MB / 1.126 GB, free: 55.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/1.103, allocations: 0.5929 MB / 1.126 GB, free: 54.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/1.123, allocations: 14.82 MB / 1.141 GB, free: 39.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00391/1.127, allocations: 403.6 kB / 1.141 GB, free: 39.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/1.127, allocations: 87.97 kB / 1.141 GB, free: 39.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.127, allocations: 4 kB / 1.141 GB, free: 39.04 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/1.14, allocations: 5.763 MB / 1.147 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/1.14, allocations: 4 kB / 1.147 GB, free: 33.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004621/1.145, allocations: 1.821 MB / 1.149 GB, free: 31.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003008/1.148, allocations: 0.6008 MB / 1.149 GB, free: 30.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01865/1.166, allocations: 14.06 MB / 1.163 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004358/1.171, allocations: 407.6 kB / 1.163 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003501/1.171, allocations: 87.97 kB / 1.163 GB, free: 15.97 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 (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,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001658/1.173, allocations: 0.7839 MB / 1.164 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000687/1.174, allocations: 330 kB / 1.164 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007559/1.174, allocations: 400.1 kB / 1.165 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.174, allocations: 24 kB / 1.165 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.648e-05/1.174, allocations: 11.98 kB / 1.165 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.174, allocations: 11.95 kB / 1.165 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/1.178, allocations: 3.175 MB / 1.168 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.178, allocations: 0 / 1.168 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002428/1.181, allocations: 0.5189 MB / 1.168 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005424/1.186, allocations: 1.708 MB / 1.17 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/1.186, allocations: 51.97 kB / 1.17 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01963/1.206, allocations: 14.61 MB / 1.184 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.206, allocations: 0 / 1.184 GB, free: 10.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.221, allocations: 5.789 MB / 1.19 GB, free: 4.254 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/1.224, allocations: 0.6571 MB / 1.191 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005817/1.224, allocations: 48 kB / 1.191 GB, free: 3.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002892/1.227, allocations: 403.5 kB / 1.191 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008176/1.228, allocations: 306.6 kB / 1.191 GB, free: 2.836 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/1.228, allocations: 71.97 kB / 1.192 GB, free: 2.766 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00211/1.23, allocations: 1.505 MB / 1.193 GB, free: 1.262 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/1.23, allocations: 4 kB / 1.193 GB, free: 1.258 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003973/1.234, allocations: 1.625 MB / 1.195 GB, free: 15.63 MB / 0.7136 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 (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.0003183/1.234, allocations: 167 kB / 1.195 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02207/1.257, allocations: 10.08 MB / 1.205 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.257, allocations: 0 / 1.205 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.007737/1.264, allocations: 3.495 MB / 1.208 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004214/1.269, allocations: 1.007 MB / 1.209 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.282, allocations: 7.575 MB / 1.216 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002089/1.285, allocations: 2.371 MB / 1.219 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003412/1.288, allocations: 0.6387 MB / 1.219 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/1.289, allocations: 175.4 kB / 1.219 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/1.289, allocations: 0 / 1.219 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of Templates: time 0.1198/1.409, allocations: 74.05 MB / 1.292 GB, free: 12.54 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)