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.647/1.647, allocations: 288.4 MB / 304.3 MB, free: 7.98 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.001041/0.001042, allocations: 193.7 kB / 372.9 MB, free: 10.14 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.578/1.578, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007888/0.0007886, allocations: 94.23 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004022/0.0004024, allocations: 15.55 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2193, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01692/0.2363, allocations: 20.24 MB / 1 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0261/0.2625, allocations: 16.51 MB / 1.017 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00334/0.2659, allocations: 103.4 kB / 1.017 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.2684, allocations: 0.558 MB / 1.017 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.2796, allocations: 3.043 MB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003879/0.2835, allocations: 0.9565 MB / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01048/0.294, allocations: 5.794 MB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006494/0.3005, allocations: 2.507 MB / 1.029 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005804/0.3064, allocations: 1.867 MB / 1.031 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00518/0.3116, allocations: 2.171 MB / 1.033 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.313, allocations: 164 kB / 1.033 GB, free: 5.211 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.3167, allocations: 1.01 MB / 1.034 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.3185, allocations: 0.9147 MB / 1.035 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003224/0.3217, allocations: 1.673 MB / 1.037 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004486/0.3262, allocations: 3.853 MB / 1.041 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.3263, allocations: 4 kB / 1.041 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3263, allocations: 3.938 kB / 1.041 GB, free: 13.72 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001102/0.3264, allocations: 0 / 1.041 GB, free: 13.72 MB / 0.6667 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.007717/0.3341, allocations: 3.838 MB / 1.044 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3342, allocations: 12.02 kB / 1.044 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.3503, allocations: 3.359 MB / 1.048 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005314/0.3557, allocations: 2.057 MB / 1.05 GB, free: 4.27 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.3559, allocations: 181.1 kB / 1.05 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006979/0.3566, allocations: 240.1 kB / 1.05 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.3677, allocations: 4.72 MB / 1.055 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/0.3677, allocations: 3.938 kB / 1.055 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003024/0.3681, allocations: 99.98 kB / 1.055 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.3683, allocations: 176.8 kB / 1.055 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.3818, allocations: 5.218 MB / 1.06 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5645/0.9464, allocations: 14.11 MB / 1.074 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/0.9588, allocations: 3.848 MB / 1.078 GB, free: 78.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004765/0.9636, allocations: 1.507 MB / 1.079 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.9638, allocations: 29.58 kB / 1.079 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00538/0.9692, allocations: 1.824 MB / 1.081 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.071e-06/0.9692, allocations: 0 / 1.081 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1281/1.097, allocations: 33.41 MB / 1.114 GB, free: 67.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/1.098, allocations: 0.4893 MB / 1.114 GB, free: 66.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003261/1.101, allocations: 2.277 MB / 1.116 GB, free: 65.35 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000442/1.101, allocations: 75.83 kB / 1.116 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.102, allocations: 1.434 MB / 1.118 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000867/1.103, allocations: 0.8202 MB / 1.118 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/1.103, allocations: 47.06 kB / 1.119 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.104, allocations: 398.7 kB / 1.119 GB, free: 62.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004552/1.108, allocations: 1.925 MB / 1.121 GB, free: 61.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004779/1.113, allocations: 2.222 MB / 1.123 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00889/1.122, allocations: 4.197 MB / 1.127 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.122, allocations: 4 kB / 1.127 GB, free: 54.62 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.015/1.137, allocations: 6.172 MB / 1.133 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002516/1.137, allocations: 403.2 kB / 1.133 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/1.137, allocations: 8.875 kB / 1.133 GB, free: 47.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006436/1.144, allocations: 1.847 MB / 1.135 GB, free: 45.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00294/1.147, allocations: 0.5929 MB / 1.136 GB, free: 45.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01972/1.167, allocations: 14.15 MB / 1.15 GB, free: 31.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/1.171, allocations: 407.5 kB / 1.15 GB, free: 30.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004887/1.171, allocations: 94.03 kB / 1.15 GB, free: 30.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/1.171, allocations: 7.281 kB / 1.15 GB, free: 30.54 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01409/1.185, allocations: 5.758 MB / 1.156 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.185, allocations: 4 kB / 1.156 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004835/1.19, allocations: 1.823 MB / 1.158 GB, free: 22.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.193, allocations: 0.608 MB / 1.158 GB, free: 22.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01877/1.212, allocations: 13.44 MB / 1.171 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/1.217, allocations: 399.6 kB / 1.172 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00072/1.218, allocations: 91.97 kB / 1.172 GB, free: 8.086 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.002238/1.22, allocations: 0.7917 MB / 1.173 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.221, allocations: 332 kB / 1.173 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/1.222, allocations: 392.1 kB / 1.173 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/1.222, allocations: 11.95 kB / 1.173 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.222, allocations: 4 kB / 1.173 GB, free: 6.551 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.223, allocations: 0.6571 MB / 1.174 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/1.224, allocations: 51.98 kB / 1.174 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/1.226, allocations: 399.5 kB / 1.174 GB, free: 5.43 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007666/1.227, allocations: 361.3 kB / 1.175 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01563/1.243, allocations: 6.226 MB / 1.181 GB, free: 14.9 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01517/1.258, allocations: 6.558 MB / 1.187 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00505/1.263, allocations: 2.135 MB / 1.189 GB, free: 6.184 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002788/1.266, allocations: 1.505 MB / 1.191 GB, free: 4.68 MB / 0.698 GB Notification: Performance of Backend: time 3.5e-07/1.266, allocations: 0 / 1.191 GB, free: 4.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02208/1.288, allocations: 8.733 MB / 1.199 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of SimCode: time 0.01448/1.303, allocations: 8.388 MB / 1.207 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of Templates: time 0.147/1.45, allocations: 88.15 MB / 1.294 GB, free: 11.86 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)