Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 192.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.81 kB / 0.9114 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3425, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02508/0.3677, allocations: 22.43 MB / 1.089 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0302/0.3979, allocations: 17.59 MB / 1.107 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005022/0.403, allocations: 103.4 kB / 1.107 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01129/0.4143, allocations: 3.914 MB / 1.11 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.4252, allocations: 3.197 MB / 1.114 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003622/0.4288, allocations: 1.183 MB / 1.115 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009631/0.4385, allocations: 6.859 MB / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004417/0.4429, allocations: 2.448 MB / 1.124 GB, free: 0.9609 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.4475, allocations: 2.082 MB / 1.126 GB, free: 14.87 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005191/0.4527, allocations: 2.405 MB / 1.128 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009761/0.4537, allocations: 220 kB / 1.128 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.4565, allocations: 1.096 MB / 1.13 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.4578, allocations: 1.024 MB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003112/0.4609, allocations: 1.83 MB / 1.132 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.468, allocations: 4.948 MB / 1.137 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.468, allocations: 3.938 kB / 1.137 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.212e-06/0.468, allocations: 0 / 1.137 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001478/0.4681, allocations: 0 / 1.137 GB, free: 3.309 MB / 0.8887 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.01023/0.4784, allocations: 4.386 MB / 1.141 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4784, allocations: 12.03 kB / 1.141 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/0.4938, allocations: 3.258 MB / 1.145 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/0.498, allocations: 2.057 MB / 1.147 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.4981, allocations: 181.1 kB / 1.147 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.4986, allocations: 236.1 kB / 1.147 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009829/0.5085, allocations: 4.685 MB / 1.152 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.5085, allocations: 0 / 1.152 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002947/0.5088, allocations: 99.98 kB / 1.152 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.509, allocations: 176.8 kB / 1.152 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.5215, allocations: 5.12 MB / 1.157 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/0.5445, allocations: 14 MB / 1.171 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/0.5555, allocations: 3.573 MB / 1.174 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.5588, allocations: 1.389 MB / 1.175 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.559, allocations: 33.22 kB / 1.175 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004011/0.563, allocations: 1.695 MB / 1.177 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 3.717e-06/0.563, allocations: 0 / 1.177 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1176/0.6806, allocations: 27.42 MB / 1.204 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002529/0.6809, allocations: 0.4889 MB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004041/0.685, allocations: 2.296 MB / 1.207 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004094/0.6854, allocations: 81.64 kB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.6868, allocations: 1.43 MB / 1.208 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009868/0.6878, allocations: 0.8279 MB / 1.209 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.6888, allocations: 412.5 kB / 1.209 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.689, allocations: 305.1 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004778/0.6938, allocations: 1.759 MB / 1.211 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004899/0.6987, allocations: 2.044 MB / 1.213 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009524/0.7082, allocations: 3.833 MB / 1.217 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.7083, allocations: 4 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01563/0.7239, allocations: 5.802 MB / 1.223 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7241, allocations: 153.9 kB / 1.223 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.7241, allocations: 4 kB / 1.223 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007155/0.7312, allocations: 1.836 MB / 1.225 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002996/0.7343, allocations: 0.4914 MB / 1.225 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02356/0.7578, allocations: 14.08 MB / 1.239 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/0.7618, allocations: 303.6 kB / 1.239 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004578/0.7622, allocations: 87.97 kB / 1.239 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006001/0.7683, allocations: 2.319 MB / 1.241 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00507/0.7734, allocations: 2.02 MB / 1.243 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5713/1.345, allocations: 3.796 MB / 1.247 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.585e-05/1.345, allocations: 2.938 kB / 1.247 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01575/1.361, allocations: 5.653 MB / 1.253 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/1.361, allocations: 152.3 kB / 1.253 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.361, allocations: 5.094 kB / 1.253 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005372/1.366, allocations: 1.675 MB / 1.254 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.369, allocations: 0.513 MB / 1.255 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/1.389, allocations: 13.33 MB / 1.268 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/1.393, allocations: 312.2 kB / 1.268 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003333/1.393, allocations: 88.81 kB / 1.268 GB, free: 159.7 MB / 0.9981 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.0006122/1.394, allocations: 323.7 kB / 1.269 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006387/1.394, allocations: 333 kB / 1.269 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008018/1.395, allocations: 395.4 kB / 1.269 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/1.395, allocations: 23.19 kB / 1.269 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-05/1.395, allocations: 10.25 kB / 1.269 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.362e-05/1.395, allocations: 12.77 kB / 1.269 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/1.4, allocations: 3.167 MB / 1.273 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/1.4, allocations: 0 / 1.273 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002533/1.402, allocations: 438.8 kB / 1.273 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006054/1.408, allocations: 1.695 MB / 1.275 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/1.409, allocations: 51.02 kB / 1.275 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/1.429, allocations: 13.86 MB / 1.288 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.429, allocations: 0 / 1.288 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/1.445, allocations: 5.416 MB / 1.293 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002001/1.447, allocations: 0.6641 MB / 1.294 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006089/1.448, allocations: 47.69 kB / 1.294 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.45, allocations: 308.2 kB / 1.294 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009913/1.451, allocations: 299.9 kB / 1.295 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.452, allocations: 72.92 kB / 1.295 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002021/1.454, allocations: 1.531 MB / 1.296 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.454, allocations: 0 / 1.296 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005052/1.459, allocations: 1.646 MB / 1.298 GB, free: 147 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003859/1.459, allocations: 162.6 kB / 1.298 GB, free: 146.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02011/1.479, allocations: 9.26 MB / 1.307 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.479, allocations: 3.844 kB / 1.307 GB, free: 142.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007478/1.487, allocations: 3.296 MB / 1.31 GB, free: 140.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004566/1.491, allocations: 1.042 MB / 1.311 GB, free: 139.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.504, allocations: 7.88 MB / 1.319 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/1.506, allocations: 2.299 MB / 1.321 GB, free: 131 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00314/1.51, allocations: 0.6376 MB / 1.322 GB, free: 130.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006519/1.51, allocations: 183.3 kB / 1.322 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.51, allocations: 0 / 1.322 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.102/1.612, allocations: 76 MB / 1.396 GB, free: 55.15 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)