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 2.741/2.741, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.001448/0.001448, allocations: 174 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.208/2.208, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009269/0.0009266, allocations: 97.78 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006434/0.0006438, allocations: 10.41 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2209, allocations: 115.3 MB / 0.9783 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02897/0.25, allocations: 20.25 MB / 0.9981 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.05462/0.3046, allocations: 16.51 MB / 1.014 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00506/0.3098, allocations: 103.4 kB / 1.014 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004784/0.3146, allocations: 0.5619 MB / 1.015 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.02145/0.3362, allocations: 2.861 MB / 1.018 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007787/0.344, allocations: 0.9603 MB / 1.019 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01776/0.3618, allocations: 5.935 MB / 1.024 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00997/0.3718, allocations: 2.06 MB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007575/0.3795, allocations: 1.973 MB / 1.028 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007038/0.3866, allocations: 2.222 MB / 1.031 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.3884, allocations: 176 kB / 1.031 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003818/0.3923, allocations: 0.4994 MB / 1.031 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003578/0.3959, allocations: 0.9498 MB / 1.032 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00378/0.3997, allocations: 0.6912 MB / 1.033 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01221/0.412, allocations: 3.927 MB / 1.037 GB, free: 468 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.4121, allocations: 0 / 1.037 GB, free: 468 kB / 0.6511 GB Notification: Performance of FrontEnd: time 4.148e-06/0.4121, allocations: 4 kB / 1.037 GB, free: 464 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002372/0.4124, allocations: 0 / 1.037 GB, free: 464 kB / 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.02443/0.4368, allocations: 4.113 MB / 1.041 GB, free: 12.23 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.4369, allocations: 8.031 kB / 1.041 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03875/0.4757, allocations: 3.366 MB / 1.044 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007193/0.483, allocations: 1.987 MB / 1.046 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007168/0.4837, allocations: 465.7 kB / 1.046 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.4852, allocations: 232 kB / 1.047 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02187/0.5071, allocations: 4.853 MB / 1.051 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.307e-05/0.5072, allocations: 0 / 1.051 GB, free: 1.051 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000597/0.5078, allocations: 103.9 kB / 1.051 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003602/0.5082, allocations: 176.8 kB / 1.052 GB, free: 0.7734 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02655/0.5347, allocations: 5.296 MB / 1.057 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6826/1.217, allocations: 14.59 MB / 1.071 GB, free: 79.06 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0201/1.238, allocations: 3.671 MB / 1.075 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007864/1.245, allocations: 1.592 MB / 1.076 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/1.246, allocations: 21.78 kB / 1.076 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008526/1.254, allocations: 1.914 MB / 1.078 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.162e-06/1.254, allocations: 4.625 kB / 1.078 GB, free: 77.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.2742/1.529, allocations: 34.09 MB / 1.111 GB, free: 67.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002792/1.529, allocations: 0.4944 MB / 1.112 GB, free: 67.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008242/1.537, allocations: 2.275 MB / 1.114 GB, free: 65.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009921/1.538, allocations: 76.14 kB / 1.114 GB, free: 65.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002582/1.541, allocations: 1.433 MB / 1.115 GB, free: 64.64 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/1.543, allocations: 0.8197 MB / 1.116 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008422/1.544, allocations: 50.88 kB / 1.116 GB, free: 63.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003043/1.544, allocations: 401.9 kB / 1.117 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01552/1.56, allocations: 2.108 MB / 1.119 GB, free: 62.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01598/1.576, allocations: 2.408 MB / 1.121 GB, free: 59.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/1.592, allocations: 2.288 MB / 1.123 GB, free: 57.36 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/1.592, allocations: 4 kB / 1.123 GB, free: 57.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.04853/1.64, allocations: 6.882 MB / 1.13 GB, free: 50.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/1.64, allocations: 148.5 kB / 1.13 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.351e-05/1.64, allocations: 8.703 kB / 1.13 GB, free: 50.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/1.658, allocations: 2.948 MB / 1.133 GB, free: 47.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005503/1.664, allocations: 0.5656 MB / 1.134 GB, free: 46.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07721/1.741, allocations: 17.32 MB / 1.151 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/1.751, allocations: 419.6 kB / 1.151 GB, free: 28.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/1.752, allocations: 89.17 kB / 1.151 GB, free: 28.67 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.003924/1.756, allocations: 0.7133 MB / 1.152 GB, free: 27.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/1.758, allocations: 332.1 kB / 1.152 GB, free: 27.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/1.76, allocations: 388.1 kB / 1.152 GB, free: 27.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/1.76, allocations: 24 kB / 1.152 GB, free: 27.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.479e-05/1.76, allocations: 8 kB / 1.152 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-05/1.76, allocations: 15.91 kB / 1.152 GB, free: 27.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/1.772, allocations: 3.618 MB / 1.156 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.395e-05/1.772, allocations: 0 / 1.156 GB, free: 23.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007123/1.779, allocations: 0.5081 MB / 1.157 GB, free: 23.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02235/1.802, allocations: 2.862 MB / 1.159 GB, free: 20.19 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007057/1.803, allocations: 55.91 kB / 1.159 GB, free: 20.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06244/1.865, allocations: 17.11 MB / 1.176 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.865, allocations: 4 kB / 1.176 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0517/1.917, allocations: 6.531 MB / 1.182 GB, free: 12.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003019/1.92, allocations: 0.6961 MB / 1.183 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/1.921, allocations: 51.94 kB / 1.183 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007021/1.928, allocations: 407.6 kB / 1.184 GB, free: 11.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002192/1.93, allocations: 366.6 kB / 1.184 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007743/1.931, allocations: 67.97 kB / 1.184 GB, free: 10.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005524/1.937, allocations: 1.513 MB / 1.185 GB, free: 9.094 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.82e-07/1.937, allocations: 0 / 1.185 GB, free: 9.094 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006942/1.944, allocations: 1.043 MB / 1.186 GB, free: 8.051 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.001001/1.945, allocations: 165.2 kB / 1.187 GB, free: 7.879 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.05234/1.997, allocations: 6.823 MB / 1.193 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.997, allocations: 0 / 1.193 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.03356/2.031, allocations: 4.237 MB / 1.197 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008722/2.04, allocations: 1.044 MB / 1.198 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/2.066, allocations: 7.751 MB / 1.206 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/2.07, allocations: 2.227 MB / 1.208 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004069/2.074, allocations: 0.5099 MB / 1.209 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/2.075, allocations: 175.4 kB / 1.209 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of SimCode: time 1.844e-06/2.075, allocations: 0 / 1.209 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of Templates: time 0.2006/2.276, allocations: 70.12 MB / 1.277 GB, free: 11.51 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)