Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.627/2.627, allocations: 287.3 MB / 302.3 MB, free: 8.383 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.001615/0.001615, allocations: 185.2 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.22/2.22, 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.001203/0.001202, allocations: 98.22 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006722/0.0006725, allocations: 17.02 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2202, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02792/0.2482, allocations: 19.17 MB / 0.9969 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03542/0.2836, allocations: 16.05 MB / 1.013 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/0.2873, allocations: 91.44 kB / 1.013 GB, free: 8.973 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.2904, allocations: 0.547 MB / 1.013 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01376/0.3042, allocations: 2.834 MB / 1.016 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005052/0.3093, allocations: 0.938 MB / 1.017 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009524/0.3188, allocations: 3.426 MB / 1.02 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005435/0.3243, allocations: 2.06 MB / 1.022 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.3298, allocations: 1.818 MB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005505/0.3353, allocations: 1.802 MB / 1.026 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.3367, allocations: 176 kB / 1.026 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.3397, allocations: 487.4 kB / 1.026 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001921/0.3417, allocations: 0.8761 MB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.3436, allocations: 0.6951 MB / 1.028 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008578/0.3522, allocations: 3.904 MB / 1.032 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.3522, allocations: 0 / 1.032 GB, free: 5.324 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3523, allocations: 4 kB / 1.032 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002228/0.3525, allocations: 0 / 1.032 GB, free: 5.32 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.01606/0.3686, allocations: 4.092 MB / 1.036 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3686, allocations: 15.97 kB / 1.036 GB, free: 1.102 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02938/0.398, allocations: 3.401 MB / 1.039 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007185/0.4052, allocations: 1.995 MB / 1.041 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000677/0.406, allocations: 465.7 kB / 1.041 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.4073, allocations: 240 kB / 1.042 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.4287, allocations: 4.83 MB / 1.046 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.414e-05/0.4288, allocations: 0 / 1.046 GB, free: 5.902 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009083/0.4297, allocations: 107.9 kB / 1.047 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003513/0.4301, allocations: 172.8 kB / 1.047 GB, free: 5.625 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02757/0.4577, allocations: 5.3 MB / 1.052 GB, free: 316 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03887/0.4966, allocations: 14.59 MB / 1.066 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6901/1.187, allocations: 3.661 MB / 1.07 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003346/1.187, allocations: 27.34 kB / 1.07 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008948/1.196, allocations: 1.905 MB / 1.072 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 1.088e-05/1.196, allocations: 0 / 1.072 GB, free: 81.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.3156/1.512, allocations: 34.09 MB / 1.105 GB, free: 73.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/1.512, allocations: 0.4981 MB / 1.105 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006866/1.519, allocations: 2.275 MB / 1.108 GB, free: 71.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0008466/1.52, allocations: 76.83 kB / 1.108 GB, free: 71.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002152/1.522, allocations: 1.434 MB / 1.109 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001794/1.524, allocations: 0.8241 MB / 1.11 GB, free: 69.44 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006389/1.525, allocations: 46.81 kB / 1.11 GB, free: 69.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002554/1.525, allocations: 397.9 kB / 1.11 GB, free: 69.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01318/1.538, allocations: 2.106 MB / 1.112 GB, free: 68.04 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01366/1.552, allocations: 2.404 MB / 1.115 GB, free: 66.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/1.565, allocations: 2.288 MB / 1.117 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.903e-05/1.565, allocations: 4 kB / 1.117 GB, free: 64.29 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.04633/1.612, allocations: 6.872 MB / 1.124 GB, free: 57.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.612, allocations: 148.8 kB / 1.124 GB, free: 57.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/1.612, allocations: 12 kB / 1.124 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02353/1.635, allocations: 2.948 MB / 1.127 GB, free: 54.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00744/1.643, allocations: 0.5618 MB / 1.127 GB, free: 53.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09533/1.738, allocations: 18.15 MB / 1.145 GB, free: 35.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0103/1.749, allocations: 415.6 kB / 1.145 GB, free: 34.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/1.75, allocations: 94.38 kB / 1.145 GB, free: 34.79 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.003874/1.754, allocations: 0.7027 MB / 1.146 GB, free: 34.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00177/1.756, allocations: 332.1 kB / 1.146 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.757, allocations: 384.1 kB / 1.147 GB, free: 33.37 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.389e-05/1.757, allocations: 24.69 kB / 1.147 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/1.757, allocations: 8 kB / 1.147 GB, free: 33.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.794e-05/1.757, allocations: 19.91 kB / 1.147 GB, free: 33.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.768, allocations: 3.628 MB / 1.15 GB, free: 29.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.168e-05/1.769, allocations: 7.266 kB / 1.15 GB, free: 29.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006779/1.775, allocations: 0.5071 MB / 1.151 GB, free: 29.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02473/1.8, allocations: 2.865 MB / 1.154 GB, free: 26.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008779/1.801, allocations: 47.97 kB / 1.154 GB, free: 26.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09409/1.895, allocations: 17.93 MB / 1.171 GB, free: 8.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.895, allocations: 7.281 kB / 1.171 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03204/1.927, allocations: 6.522 MB / 1.178 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002711/1.93, allocations: 0.6999 MB / 1.178 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001232/1.931, allocations: 52 kB / 1.178 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00664/1.938, allocations: 407.6 kB / 1.179 GB, free: 356 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002167/1.94, allocations: 370.7 kB / 1.179 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005844/1.941, allocations: 71.92 kB / 1.179 GB, free: 15.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003985/1.945, allocations: 1.505 MB / 1.181 GB, free: 14.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.11e-07/1.945, allocations: 4 kB / 1.181 GB, free: 14.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005335/1.95, allocations: 1.047 MB / 1.182 GB, free: 13.36 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 (118): * Single equations (assignments): 106 * 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 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008263/1.951, allocations: 160.6 kB / 1.182 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04564/1.997, allocations: 6.817 MB / 1.188 GB, free: 6.281 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.997, allocations: 4 kB / 1.188 GB, free: 6.277 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.03386/2.031, allocations: 4.24 MB / 1.193 GB, free: 2.012 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008006/2.039, allocations: 0.9986 MB / 1.194 GB, free: 1.039 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/2.066, allocations: 7.763 MB / 1.201 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003588/2.07, allocations: 2.293 MB / 1.203 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004118/2.074, allocations: 0.5099 MB / 1.204 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/2.076, allocations: 175.4 kB / 1.204 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of SimCode: time 8.72e-07/2.076, allocations: 0 / 1.204 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.1959/2.272, allocations: 70.07 MB / 1.273 GB, free: 0.8477 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)