Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.743/1.743, allocations: 287.4 MB / 303.2 MB, free: 8.27 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.001/0.001, allocations: 182.6 kB / 371.8 MB, free: 10.8 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.682/1.682, allocations: 205.4 MB / 0.6304 GB, free: 10.53 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.0009531/0.0009533, allocations: 99.16 kB / 0.7438 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004008, allocations: 11.77 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2221, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01726/0.2394, allocations: 20.24 MB / 0.999 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.2607, allocations: 16.5 MB / 1.015 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.2641, allocations: 99.44 kB / 1.015 GB, free: 7.246 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002725/0.2668, allocations: 0.5618 MB / 1.016 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01458/0.2815, allocations: 2.877 MB / 1.019 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.2858, allocations: 0.9498 MB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01009/0.2959, allocations: 5.793 MB / 1.025 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005718/0.3017, allocations: 2.507 MB / 1.028 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004352/0.3061, allocations: 1.867 MB / 1.029 GB, free: 8.562 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004512/0.3106, allocations: 2.171 MB / 1.032 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.3118, allocations: 164 kB / 1.032 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.3149, allocations: 495.4 kB / 1.032 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.3167, allocations: 0.9186 MB / 1.033 GB, free: 4.816 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.3187, allocations: 0.6912 MB / 1.034 GB, free: 4.117 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006537/0.3253, allocations: 3.818 MB / 1.038 GB, free: 300 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.3253, allocations: 0 / 1.038 GB, free: 300 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3253, allocations: 4 kB / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002517/0.3256, allocations: 4 kB / 1.038 GB, free: 292 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.01006/0.3357, allocations: 3.838 MB / 1.041 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.3357, allocations: 12.03 kB / 1.041 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/0.3513, allocations: 3.359 MB / 1.045 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00473/0.3561, allocations: 2.06 MB / 1.047 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001925/0.3563, allocations: 173.1 kB / 1.047 GB, free: 6.656 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006231/0.357, allocations: 240.1 kB / 1.047 GB, free: 6.422 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.368, allocations: 4.724 MB / 1.052 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.3681, allocations: 3.938 kB / 1.052 GB, free: 1.551 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003262/0.3685, allocations: 111.9 kB / 1.052 GB, free: 1.441 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.3687, allocations: 168.8 kB / 1.052 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.3822, allocations: 5.226 MB / 1.057 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4931/0.8753, allocations: 14.12 MB / 1.071 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.8876, allocations: 3.848 MB / 1.074 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004192/0.8918, allocations: 1.512 MB / 1.076 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.892, allocations: 24.36 kB / 1.076 GB, free: 78.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004684/0.8967, allocations: 1.822 MB / 1.078 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 5e-06/0.8967, allocations: 0 / 1.078 GB, free: 77.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.1239/1.021, allocations: 33.41 MB / 1.11 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/1.021, allocations: 0.4923 MB / 1.111 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/1.024, allocations: 2.276 MB / 1.113 GB, free: 67.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003589/1.024, allocations: 77.42 kB / 1.113 GB, free: 67.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000977/1.025, allocations: 1.428 MB / 1.115 GB, free: 65.97 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007518/1.026, allocations: 0.8226 MB / 1.115 GB, free: 65.26 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/1.026, allocations: 47.25 kB / 1.115 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.026, allocations: 393.5 kB / 1.116 GB, free: 64.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004256/1.03, allocations: 1.917 MB / 1.118 GB, free: 63.96 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/1.035, allocations: 2.227 MB / 1.12 GB, free: 62.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008498/1.043, allocations: 4.193 MB / 1.124 GB, free: 57.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-05/1.043, allocations: 4 kB / 1.124 GB, free: 57.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01556/1.059, allocations: 6.173 MB / 1.13 GB, free: 51.55 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/1.059, allocations: 413.6 kB / 1.13 GB, free: 51.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.059, allocations: 4 kB / 1.13 GB, free: 51.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005937/1.065, allocations: 1.845 MB / 1.132 GB, free: 49.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002849/1.068, allocations: 0.5929 MB / 1.133 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/1.086, allocations: 14.15 MB / 1.147 GB, free: 34.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/1.09, allocations: 403.6 kB / 1.147 GB, free: 33.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/1.091, allocations: 91.97 kB / 1.147 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/1.091, allocations: 4 kB / 1.147 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0126/1.103, allocations: 5.765 MB / 1.153 GB, free: 27.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.103, allocations: 4 kB / 1.153 GB, free: 27.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004685/1.108, allocations: 1.822 MB / 1.154 GB, free: 26.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.111, allocations: 0.6047 MB / 1.155 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01705/1.128, allocations: 13.43 MB / 1.168 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004236/1.132, allocations: 407.3 kB / 1.169 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003624/1.132, allocations: 91.91 kB / 1.169 GB, free: 11.29 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.00166/1.134, allocations: 0.7878 MB / 1.169 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006622/1.135, allocations: 332.1 kB / 1.17 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007026/1.136, allocations: 400.1 kB / 1.17 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.136, allocations: 15.23 kB / 1.17 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/1.136, allocations: 0 / 1.17 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.137, allocations: 0.6648 MB / 1.171 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/1.137, allocations: 51.98 kB / 1.171 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/1.14, allocations: 395.6 kB / 1.171 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007354/1.141, allocations: 365.3 kB / 1.172 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01581/1.157, allocations: 6.219 MB / 1.178 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01509/1.172, allocations: 6.561 MB / 1.184 GB, free: 11.52 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004976/1.177, allocations: 2.131 MB / 1.186 GB, free: 9.387 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0023/1.179, allocations: 1.513 MB / 1.188 GB, free: 7.875 MB / 0.698 GB Notification: Performance of Backend: time 4.51e-07/1.179, allocations: 4 kB / 1.188 GB, free: 7.871 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02077/1.2, allocations: 8.501 MB / 1.196 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of SimCode: time 0.0139/1.214, allocations: 8.367 MB / 1.204 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.1393/1.353, allocations: 87.38 MB / 1.289 GB, free: 116 kB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)