Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.033/3.033, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001661/0.001661, allocations: 182 kB / 370.8 MB, free: 10.85 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.308/2.308, allocations: 205.4 MB / 0.6295 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.00111/0.00111, allocations: 86.97 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006367/0.0006368, allocations: 10.34 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2243, allocations: 115.3 MB / 0.9782 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02709/0.2515, allocations: 19.14 MB / 0.9969 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0329/0.2844, allocations: 16.06 MB / 1.013 GB, free: 9.074 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003432/0.2879, allocations: 95.38 kB / 1.013 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002972/0.2909, allocations: 0.5509 MB / 1.013 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.013/0.304, allocations: 2.827 MB / 1.016 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004852/0.3088, allocations: 0.9375 MB / 1.017 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009167/0.318, allocations: 3.335 MB / 1.02 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005085/0.3232, allocations: 2.021 MB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005036/0.3283, allocations: 1.713 MB / 1.024 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005099/0.3334, allocations: 1.751 MB / 1.025 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001353/0.3348, allocations: 160 kB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/0.3379, allocations: 483.4 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002248/0.3402, allocations: 0.8449 MB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001795/0.342, allocations: 0.6951 MB / 1.028 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007676/0.3497, allocations: 3.799 MB / 1.031 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3498, allocations: 0 / 1.031 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3498, allocations: 0 / 1.031 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001938/0.35, allocations: 0 / 1.031 GB, free: 5.777 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.01398/0.364, allocations: 3.869 MB / 1.035 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.3641, allocations: 16.02 kB / 1.035 GB, free: 1.781 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03156/0.3957, allocations: 3.401 MB / 1.038 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/0.4068, allocations: 1.964 MB / 1.04 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.4072, allocations: 172.7 kB / 1.041 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.4086, allocations: 232 kB / 1.041 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.4287, allocations: 4.709 MB / 1.045 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.677e-05/0.4288, allocations: 3.984 kB / 1.045 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005561/0.4294, allocations: 99.98 kB / 1.045 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003596/0.4298, allocations: 176.8 kB / 1.046 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02553/0.4553, allocations: 5.226 MB / 1.051 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03591/0.4913, allocations: 14.11 MB / 1.064 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6986/1.19, allocations: 3.846 MB / 1.068 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/1.19, allocations: 27.84 kB / 1.068 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008279/1.199, allocations: 1.809 MB / 1.07 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 8.756e-06/1.199, allocations: 2.844 kB / 1.07 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.2461/1.445, allocations: 33.4 MB / 1.103 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002026/1.445, allocations: 0.4893 MB / 1.103 GB, free: 74.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/1.45, allocations: 2.271 MB / 1.105 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006432/1.451, allocations: 84.67 kB / 1.105 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001468/1.453, allocations: 1.431 MB / 1.107 GB, free: 71.94 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.454, allocations: 0.8225 MB / 1.108 GB, free: 71.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/1.454, allocations: 47.72 kB / 1.108 GB, free: 71.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.454, allocations: 401.8 kB / 1.108 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008729/1.463, allocations: 1.924 MB / 1.11 GB, free: 69.92 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009382/1.473, allocations: 2.206 MB / 1.112 GB, free: 68.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009127/1.482, allocations: 2.135 MB / 1.114 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/1.482, allocations: 0 / 1.114 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02864/1.511, allocations: 6.159 MB / 1.12 GB, free: 61.89 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005793/1.511, allocations: 2.451 MB / 1.123 GB, free: 59.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.511, allocations: 7.984 kB / 1.123 GB, free: 59.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/1.523, allocations: 1.849 MB / 1.124 GB, free: 57.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005479/1.528, allocations: 0.5813 MB / 1.125 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03773/1.566, allocations: 14.82 MB / 1.139 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006844/1.573, allocations: 403.6 kB / 1.14 GB, free: 41.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007055/1.574, allocations: 88.84 kB / 1.14 GB, free: 41.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/1.574, allocations: 8 kB / 1.14 GB, free: 41.23 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02574/1.6, allocations: 5.754 MB / 1.146 GB, free: 35.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/1.6, allocations: 8 kB / 1.146 GB, free: 35.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009234/1.609, allocations: 1.823 MB / 1.147 GB, free: 33.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/1.615, allocations: 0.6046 MB / 1.148 GB, free: 32.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03512/1.65, allocations: 14.06 MB / 1.162 GB, free: 18.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007312/1.657, allocations: 399.6 kB / 1.162 GB, free: 18.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006818/1.658, allocations: 98.38 kB / 1.162 GB, free: 18.16 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.002691/1.661, allocations: 0.7817 MB / 1.163 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.662, allocations: 328.1 kB / 1.163 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.663, allocations: 400.1 kB / 1.164 GB, free: 16.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.663, allocations: 28 kB / 1.164 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-05/1.663, allocations: 12 kB / 1.164 GB, free: 16.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.694e-05/1.663, allocations: 11.95 kB / 1.164 GB, free: 16.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006672/1.67, allocations: 3.17 MB / 1.167 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.212e-05/1.67, allocations: 4 kB / 1.167 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004924/1.675, allocations: 0.5189 MB / 1.167 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/1.686, allocations: 1.704 MB / 1.169 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005621/1.687, allocations: 59.92 kB / 1.169 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03715/1.724, allocations: 14.59 MB / 1.183 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/1.724, allocations: 7.266 kB / 1.183 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03364/1.757, allocations: 5.785 MB / 1.189 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/1.76, allocations: 0.6609 MB / 1.189 GB, free: 5.777 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.761, allocations: 44 kB / 1.19 GB, free: 5.734 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006233/1.767, allocations: 407.4 kB / 1.19 GB, free: 5.336 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001644/1.769, allocations: 306.6 kB / 1.19 GB, free: 5.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003935/1.77, allocations: 79.97 kB / 1.19 GB, free: 4.961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003951/1.774, allocations: 1.509 MB / 1.192 GB, free: 3.453 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.62e-07/1.774, allocations: 0 / 1.192 GB, free: 3.453 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007571/1.781, allocations: 1.621 MB / 1.193 GB, free: 1.832 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 (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.0006986/1.782, allocations: 168 kB / 1.194 GB, free: 1.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04435/1.826, allocations: 10.07 MB / 1.203 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.826, allocations: 4 kB / 1.203 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01761/1.844, allocations: 3.487 MB / 1.207 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007755/1.852, allocations: 1.013 MB / 1.208 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/1.877, allocations: 7.57 MB / 1.215 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/1.881, allocations: 2.375 MB / 1.217 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005341/1.887, allocations: 0.6348 MB / 1.218 GB, free: 8.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/1.888, allocations: 187.3 kB / 1.218 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of SimCode: time 1.102e-06/1.888, allocations: 0 / 1.218 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of Templates: time 0.2466/2.135, allocations: 74.03 MB / 1.291 GB, free: 14.77 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)