Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001506/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001883/0.001883, allocations: 191.5 kB / 16.13 MB, free: 6.707 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.967/2.967, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.23 kB / 0.9113 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3318, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02408/0.3559, allocations: 22.42 MB / 1.089 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02472/0.3807, allocations: 17.6 MB / 1.107 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004226/0.3849, allocations: 103.4 kB / 1.107 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01113/0.3961, allocations: 3.916 MB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.4095, allocations: 3.195 MB / 1.114 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004461/0.414, allocations: 1.18 MB / 1.115 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009702/0.4237, allocations: 6.86 MB / 1.121 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005479/0.4292, allocations: 2.452 MB / 1.124 GB, free: 0.9648 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.4337, allocations: 2.074 MB / 1.126 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004921/0.4386, allocations: 2.405 MB / 1.128 GB, free: 12.47 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001402/0.4401, allocations: 220 kB / 1.128 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.4433, allocations: 1.096 MB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001987/0.4453, allocations: 1.028 MB / 1.131 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004222/0.4495, allocations: 1.826 MB / 1.132 GB, free: 8.289 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007889/0.4575, allocations: 4.944 MB / 1.137 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4575, allocations: 0 / 1.137 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.313e-06/0.4575, allocations: 4 kB / 1.137 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002174/0.4577, allocations: 0 / 1.137 GB, free: 3.324 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.01302/0.4707, allocations: 4.391 MB / 1.141 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.4708, allocations: 12.03 kB / 1.141 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/0.4875, allocations: 3.254 MB / 1.145 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/0.493, allocations: 2.06 MB / 1.147 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.4933, allocations: 189.1 kB / 1.147 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/0.4946, allocations: 232.1 kB / 1.147 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.5084, allocations: 4.681 MB / 1.152 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.16e-05/0.5086, allocations: 0 / 1.152 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000814/0.5094, allocations: 111.9 kB / 1.152 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002348/0.5096, allocations: 168.8 kB / 1.152 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/0.5239, allocations: 5.124 MB / 1.157 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02571/0.5496, allocations: 14 MB / 1.171 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.5617, allocations: 3.569 MB / 1.174 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004173/0.5659, allocations: 1.385 MB / 1.175 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.5662, allocations: 37.22 kB / 1.175 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004619/0.5708, allocations: 1.687 MB / 1.177 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 5.611e-06/0.5709, allocations: 3.938 kB / 1.177 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1155/0.6864, allocations: 27.42 MB / 1.204 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002453/0.6867, allocations: 0.4967 MB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.6907, allocations: 2.296 MB / 1.207 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004606/0.6911, allocations: 81.69 kB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.6926, allocations: 1.43 MB / 1.208 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.6937, allocations: 0.8201 MB / 1.209 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/0.6949, allocations: 416.4 kB / 1.209 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.695, allocations: 309.1 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004809/0.6999, allocations: 1.751 MB / 1.211 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005119/0.705, allocations: 2.043 MB / 1.213 GB, free: 3.297 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009812/0.7148, allocations: 3.841 MB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.7149, allocations: 0 / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01614/0.731, allocations: 5.806 MB / 1.223 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.7312, allocations: 149.8 kB / 1.223 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.7312, allocations: 4 kB / 1.223 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006647/0.7379, allocations: 1.833 MB / 1.225 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002914/0.7408, allocations: 0.503 MB / 1.225 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.7639, allocations: 14.08 MB / 1.239 GB, free: 8.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/0.768, allocations: 307.6 kB / 1.239 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005544/0.7686, allocations: 87.97 kB / 1.239 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006394/0.775, allocations: 2.312 MB / 1.241 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005241/0.7803, allocations: 2.031 MB / 1.243 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5654/1.346, allocations: 3.791 MB / 1.247 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.656e-05/1.346, allocations: 2.656 kB / 1.247 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01703/1.363, allocations: 5.649 MB / 1.253 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.126e-05/1.363, allocations: 150.9 kB / 1.253 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.363, allocations: 8.25 kB / 1.253 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005212/1.368, allocations: 1.671 MB / 1.254 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/1.371, allocations: 0.5177 MB / 1.255 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/1.391, allocations: 13.33 MB / 1.268 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/1.395, allocations: 310 kB / 1.268 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004899/1.396, allocations: 90.73 kB / 1.268 GB, free: 160.3 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.0007619/1.397, allocations: 316.8 kB / 1.269 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008755/1.398, allocations: 336.9 kB / 1.269 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/1.399, allocations: 398.1 kB / 1.269 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.399, allocations: 24.44 kB / 1.269 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.126e-05/1.399, allocations: 11.23 kB / 1.269 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/1.399, allocations: 12.78 kB / 1.269 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/1.403, allocations: 3.163 MB / 1.273 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/1.403, allocations: 0.7969 kB / 1.273 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002463/1.406, allocations: 431.3 kB / 1.273 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006582/1.413, allocations: 1.698 MB / 1.275 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004925/1.413, allocations: 51.88 kB / 1.275 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02503/1.438, allocations: 13.86 MB / 1.288 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.438, allocations: 5.281 kB / 1.288 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.453, allocations: 5.411 MB / 1.293 GB, free: 148.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/1.454, allocations: 0.6621 MB / 1.294 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004636/1.455, allocations: 43.81 kB / 1.294 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/1.457, allocations: 311.5 kB / 1.294 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000886/1.458, allocations: 290.3 kB / 1.295 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001704/1.459, allocations: 73.3 kB / 1.295 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001887/1.46, allocations: 1.535 MB / 1.296 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.46, allocations: 0 / 1.296 GB, free: 147.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00414/1.465, allocations: 1.636 MB / 1.298 GB, free: 147.6 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.0003084/1.465, allocations: 172.4 kB / 1.298 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01895/1.484, allocations: 9.261 MB / 1.307 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/1.484, allocations: 0 / 1.307 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007477/1.491, allocations: 3.305 MB / 1.31 GB, free: 141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004594/1.496, allocations: 1.042 MB / 1.311 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/1.509, allocations: 7.876 MB / 1.319 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.51, allocations: 2.297 MB / 1.321 GB, free: 131.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00307/1.513, allocations: 0.6344 MB / 1.322 GB, free: 131.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006205/1.514, allocations: 175.4 kB / 1.322 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.514, allocations: 4 kB / 1.322 GB, free: 131.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.09947/1.613, allocations: 76.01 MB / 1.396 GB, free: 56.04 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)