Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 303.4 MB, free: 8.188 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.001044/0.001044, allocations: 200.4 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007911/0.0007911, allocations: 99.62 kB / 0.7441 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.00042, allocations: 15.5 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02768/0.2494, allocations: 20.22 MB / 0.9993 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03471/0.2842, allocations: 16.51 MB / 1.015 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004394/0.2886, allocations: 103.3 kB / 1.016 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.2919, allocations: 0.5697 MB / 1.016 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01452/0.3065, allocations: 2.863 MB / 1.019 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005434/0.3119, allocations: 0.9566 MB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.3247, allocations: 5.771 MB / 1.025 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005196/0.3299, allocations: 2.017 MB / 1.027 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006322/0.3363, allocations: 1.867 MB / 1.029 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005968/0.3423, allocations: 2.175 MB / 1.031 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0009702/0.3433, allocations: 160 kB / 1.032 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.3457, allocations: 499.5 kB / 1.032 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.3467, allocations: 0.9264 MB / 1.033 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.3479, allocations: 0.6873 MB / 1.034 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004344/0.3523, allocations: 3.822 MB / 1.037 GB, free: 304 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3523, allocations: 0 / 1.037 GB, free: 304 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3523, allocations: 0 / 1.037 GB, free: 304 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001319/0.3524, allocations: 0 / 1.037 GB, free: 304 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.008874/0.3613, allocations: 3.881 MB / 1.041 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.3614, allocations: 12.02 kB / 1.041 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.378, allocations: 3.362 MB / 1.044 GB, free: 8.922 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/0.3835, allocations: 1.952 MB / 1.046 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.3837, allocations: 188.7 kB / 1.047 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005163/0.3843, allocations: 228 kB / 1.047 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.3949, allocations: 4.724 MB / 1.051 GB, free: 1.625 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.657e-05/0.395, allocations: 4 kB / 1.051 GB, free: 1.621 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003217/0.3954, allocations: 104 kB / 1.051 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002225/0.3956, allocations: 172.8 kB / 1.052 GB, free: 1.348 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.4085, allocations: 5.226 MB / 1.057 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5729/0.9814, allocations: 14.1 MB / 1.07 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/0.9943, allocations: 3.84 MB / 1.074 GB, free: 79.04 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00443/0.9988, allocations: 1.506 MB / 1.076 GB, free: 78.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.9989, allocations: 32.56 kB / 1.076 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005173/1.004, allocations: 1.818 MB / 1.078 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.202e-06/1.004, allocations: 0 / 1.078 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1288/1.133, allocations: 33.4 MB / 1.11 GB, free: 68.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/1.133, allocations: 0.4894 MB / 1.111 GB, free: 68.19 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/1.137, allocations: 2.283 MB / 1.113 GB, free: 66.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000592/1.137, allocations: 76.61 kB / 1.113 GB, free: 66.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/1.138, allocations: 1.43 MB / 1.114 GB, free: 65.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008434/1.139, allocations: 0.8225 MB / 1.115 GB, free: 64.95 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/1.139, allocations: 47.88 kB / 1.115 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.14, allocations: 392.7 kB / 1.116 GB, free: 64.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004373/1.144, allocations: 1.924 MB / 1.117 GB, free: 63.64 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/1.149, allocations: 2.221 MB / 1.12 GB, free: 62.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/1.153, allocations: 2.124 MB / 1.122 GB, free: 60.04 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.153, allocations: 4 kB / 1.122 GB, free: 60.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01542/1.169, allocations: 6.17 MB / 1.128 GB, free: 53.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/1.169, allocations: 404.3 kB / 1.128 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/1.169, allocations: 8 kB / 1.128 GB, free: 53.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006201/1.175, allocations: 1.846 MB / 1.13 GB, free: 51.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/1.178, allocations: 0.5929 MB / 1.13 GB, free: 50.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01917/1.197, allocations: 14.15 MB / 1.144 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/1.202, allocations: 407.6 kB / 1.145 GB, free: 36.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000397/1.202, allocations: 91.97 kB / 1.145 GB, free: 35.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.202, allocations: 7.953 kB / 1.145 GB, free: 35.97 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01339/1.216, allocations: 5.746 MB / 1.15 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/1.216, allocations: 4 kB / 1.15 GB, free: 30.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004841/1.221, allocations: 1.826 MB / 1.152 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/1.224, allocations: 0.6047 MB / 1.153 GB, free: 27.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/1.242, allocations: 13.44 MB / 1.166 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/1.246, allocations: 407.5 kB / 1.166 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/1.246, allocations: 99.97 kB / 1.166 GB, free: 13.52 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.001604/1.248, allocations: 0.7839 MB / 1.167 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005959/1.249, allocations: 328.1 kB / 1.167 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/1.249, allocations: 392.1 kB / 1.168 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.249, allocations: 27.98 kB / 1.168 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.713e-05/1.249, allocations: 12 kB / 1.168 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/1.249, allocations: 11.95 kB / 1.168 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/1.253, allocations: 3.164 MB / 1.171 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.253, allocations: 7.953 kB / 1.171 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/1.255, allocations: 0.5189 MB / 1.171 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005754/1.261, allocations: 1.711 MB / 1.173 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000264/1.262, allocations: 51.97 kB / 1.173 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02054/1.282, allocations: 13.94 MB / 1.187 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.282, allocations: 0 / 1.187 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/1.299, allocations: 5.784 MB / 1.192 GB, free: 2.484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/1.301, allocations: 0.6609 MB / 1.193 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006776/1.302, allocations: 47.98 kB / 1.193 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.305, allocations: 399 kB / 1.194 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009252/1.306, allocations: 318.6 kB / 1.194 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001797/1.306, allocations: 71.97 kB / 1.194 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002477/1.309, allocations: 1.51 MB / 1.195 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.41e-07/1.309, allocations: 4 kB / 1.195 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005205/1.314, allocations: 1.621 MB / 1.197 GB, free: 13.86 MB / 0.7136 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.0003994/1.315, allocations: 163.1 kB / 1.197 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02513/1.34, allocations: 10.06 MB / 1.207 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.34, allocations: 0 / 1.207 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008526/1.348, allocations: 3.499 MB / 1.21 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006029/1.354, allocations: 1.046 MB / 1.211 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/1.37, allocations: 7.583 MB / 1.219 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/1.372, allocations: 2.305 MB / 1.221 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003637/1.375, allocations: 0.6348 MB / 1.222 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007402/1.376, allocations: 179.4 kB / 1.222 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of SimCode: time 1.813e-06/1.376, allocations: 0 / 1.222 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of Templates: time 0.1301/1.506, allocations: 74.09 MB / 1.294 GB, free: 10.74 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)