Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, 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.001853/0.001853, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 70.02 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3279, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02633/0.3542, allocations: 22.44 MB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02575/0.38, allocations: 17.59 MB / 1.107 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.3834, allocations: 107.4 kB / 1.107 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.3935, allocations: 3.914 MB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.4055, allocations: 3.199 MB / 1.114 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003263/0.4088, allocations: 1.181 MB / 1.115 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009256/0.4181, allocations: 7.047 MB / 1.122 GB, free: 3.25 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005103/0.4232, allocations: 2.495 MB / 1.124 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.4284, allocations: 2.187 MB / 1.126 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006139/0.4345, allocations: 2.455 MB / 1.129 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001827/0.4364, allocations: 228 kB / 1.129 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.4403, allocations: 1.107 MB / 1.13 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002099/0.4424, allocations: 1.051 MB / 1.131 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004129/0.4465, allocations: 1.861 MB / 1.133 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.4538, allocations: 5.065 MB / 1.138 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4538, allocations: 0 / 1.138 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4538, allocations: 0 / 1.138 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002029/0.454, allocations: 0 / 1.138 GB, free: 2.68 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.01272/0.4667, allocations: 4.606 MB / 1.142 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4668, allocations: 16.03 kB / 1.142 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/0.4829, allocations: 3.265 MB / 1.145 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004958/0.4879, allocations: 2.084 MB / 1.147 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/0.4883, allocations: 462.3 kB / 1.148 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/0.4894, allocations: 247.8 kB / 1.148 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.5035, allocations: 4.81 MB / 1.153 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.2e-05/0.5036, allocations: 3.938 kB / 1.153 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007817/0.5044, allocations: 108 kB / 1.153 GB, free: 2.695 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/0.5047, allocations: 172.8 kB / 1.153 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01411/0.5188, allocations: 5.191 MB / 1.158 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02617/0.545, allocations: 14.48 MB / 1.172 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/0.5555, allocations: 3.395 MB / 1.176 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004322/0.5599, allocations: 1.475 MB / 1.177 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.5602, allocations: 29.23 kB / 1.177 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004959/0.5651, allocations: 1.786 MB / 1.179 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 8.085e-06/0.5652, allocations: 0 / 1.179 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1251/0.6902, allocations: 28.22 MB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002633/0.6906, allocations: 0.4928 MB / 1.207 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003926/0.6945, allocations: 2.3 MB / 1.209 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005073/0.695, allocations: 73.7 kB / 1.209 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001302/0.6963, allocations: 1.438 MB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/0.6974, allocations: 0.8201 MB / 1.211 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.6987, allocations: 412.5 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6988, allocations: 301.1 kB / 1.212 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005373/0.7042, allocations: 1.929 MB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/0.71, allocations: 2.231 MB / 1.216 GB, free: 232 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.721, allocations: 4.161 MB / 1.22 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.721, allocations: 8 kB / 1.22 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02067/0.7417, allocations: 6.539 MB / 1.227 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.7419, allocations: 148.5 kB / 1.227 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7419, allocations: 7.938 kB / 1.227 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.7523, allocations: 2.93 MB / 1.23 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.7553, allocations: 491.2 kB / 1.23 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03926/0.7946, allocations: 17.33 MB / 1.247 GB, free: 116 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5891/1.384, allocations: 314.5 kB / 1.247 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005056/1.384, allocations: 89.97 kB / 1.247 GB, free: 165.6 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 (162): * Single equations (assignments): 155 * 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 {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.001765/1.386, allocations: 0.7036 MB / 1.248 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000805/1.387, allocations: 332.5 kB / 1.248 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/1.388, allocations: 386.8 kB / 1.249 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/1.388, allocations: 24.56 kB / 1.249 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.931e-05/1.388, allocations: 11.14 kB / 1.249 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.388, allocations: 12.91 kB / 1.249 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/1.396, allocations: 3.626 MB / 1.252 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/1.396, allocations: 1.031 kB / 1.252 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003606/1.4, allocations: 422.1 kB / 1.253 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01508/1.415, allocations: 2.865 MB / 1.256 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006735/1.415, allocations: 56.75 kB / 1.256 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03833/1.454, allocations: 17.1 MB / 1.272 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/1.454, allocations: 0 / 1.272 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01832/1.472, allocations: 6.181 MB / 1.278 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002051/1.474, allocations: 0.6979 MB / 1.279 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.475, allocations: 44 kB / 1.279 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00372/1.479, allocations: 318.5 kB / 1.279 GB, free: 156.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001467/1.481, allocations: 353.4 kB / 1.28 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/1.481, allocations: 74.2 kB / 1.28 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003015/1.484, allocations: 1.53 MB / 1.281 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.484, allocations: 1.375 kB / 1.281 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004772/1.489, allocations: 1.044 MB / 1.282 GB, free: 155.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 (118): * Single equations (assignments): 106 * 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,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005602/1.489, allocations: 169.3 kB / 1.282 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.023/1.512, allocations: 6.449 MB / 1.289 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.512, allocations: 2.531 kB / 1.289 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01659/1.529, allocations: 4.047 MB / 1.293 GB, free: 151.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0051/1.534, allocations: 1.049 MB / 1.294 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01254/1.547, allocations: 8.043 MB / 1.302 GB, free: 147.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001799/1.548, allocations: 2.241 MB / 1.304 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003314/1.552, allocations: 0.5136 MB / 1.304 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007879/1.553, allocations: 175.1 kB / 1.304 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/1.553, allocations: 0 / 1.304 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.1024/1.655, allocations: 72.94 MB / 1.376 GB, free: 77.12 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)