Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.337/2.337, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001484/0.001483, allocations: 181.6 kB / 325.8 MB, free: 2.785 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.492/2.492, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 108.9 kB / 0.6813 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008064/0.000807, allocations: 11.19 kB / 0.7953 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2537, allocations: 106.3 MB / 0.899 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.034/0.2877, allocations: 20.24 MB / 0.9188 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03053/0.3183, allocations: 16.51 MB / 0.9349 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.3222, allocations: 103.4 kB / 0.935 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/0.3253, allocations: 0.5579 MB / 0.9356 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.3371, allocations: 2.856 MB / 0.9384 GB, free: 25.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004416/0.3416, allocations: 0.9567 MB / 0.9393 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009138/0.3507, allocations: 5.797 MB / 0.945 GB, free: 18.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004615/0.3554, allocations: 2.208 MB / 0.9471 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004558/0.36, allocations: 1.864 MB / 0.9489 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005155/0.3652, allocations: 2.167 MB / 0.951 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.3666, allocations: 164 kB / 0.9512 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003047/0.3697, allocations: 0.4916 MB / 0.9517 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001976/0.3717, allocations: 0.9224 MB / 0.9526 GB, free: 10.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.3737, allocations: 0.6873 MB / 0.9533 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.007345/0.3811, allocations: 3.834 MB / 0.957 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.3812, allocations: 0 / 0.957 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.267e-06/0.3812, allocations: 0 / 0.957 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000243/0.3814, allocations: 0 / 0.957 GB, free: 5.828 MB / 0.6042 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.01724/0.3987, allocations: 3.878 MB / 0.9608 GB, free: 1.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3988, allocations: 11.97 kB / 0.9608 GB, free: 1.828 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02876/0.4275, allocations: 3.359 MB / 0.9641 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/0.4342, allocations: 1.957 MB / 0.966 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002655/0.4345, allocations: 177.1 kB / 0.9662 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009568/0.4355, allocations: 240.1 kB / 0.9664 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.4547, allocations: 4.724 MB / 0.971 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.446e-05/0.4548, allocations: 3.984 kB / 0.971 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005436/0.4554, allocations: 108 kB / 0.9711 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003516/0.4557, allocations: 164.8 kB / 0.9713 GB, free: 6.883 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02604/0.4818, allocations: 5.226 MB / 0.9764 GB, free: 1.641 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03691/0.5188, allocations: 14.11 MB / 0.9902 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02271/0.5415, allocations: 3.853 MB / 0.9939 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007367/0.549, allocations: 1.506 MB / 0.9954 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.5493, allocations: 29.22 kB / 0.9954 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008219/0.5575, allocations: 1.821 MB / 0.9972 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 6.762e-06/0.5576, allocations: 4 kB / 0.9972 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.2539/0.8115, allocations: 33.4 MB / 1.03 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003313/0.8118, allocations: 0.4928 MB / 1.03 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/0.8169, allocations: 2.277 MB / 1.033 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005939/0.8175, allocations: 73.7 kB / 1.033 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.8196, allocations: 1.438 MB / 1.034 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.8211, allocations: 0.8124 MB / 1.035 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.8215, allocations: 48 kB / 1.035 GB, free: 4.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000272/0.8218, allocations: 398.6 kB / 1.035 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009844/0.8316, allocations: 1.921 MB / 1.037 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/0.8421, allocations: 2.22 MB / 1.039 GB, free: 15.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.8522, allocations: 2.136 MB / 1.041 GB, free: 13.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.8523, allocations: 0 / 1.041 GB, free: 13.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.03249/0.8848, allocations: 6.173 MB / 1.047 GB, free: 7.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000432/0.8853, allocations: 399.6 kB / 1.048 GB, free: 6.562 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.8853, allocations: 8 kB / 1.048 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/0.8985, allocations: 1.855 MB / 1.05 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006003/0.9045, allocations: 0.5852 MB / 1.05 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7871/1.692, allocations: 14.15 MB / 1.064 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007133/1.699, allocations: 406.4 kB / 1.064 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006395/1.7, allocations: 88.3 kB / 1.064 GB, free: 137.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.7, allocations: 7.969 kB / 1.064 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02989/1.729, allocations: 5.759 MB / 1.07 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.124e-05/1.73, allocations: 5.188 kB / 1.07 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/1.74, allocations: 1.82 MB / 1.072 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00594/1.746, allocations: 0.6133 MB / 1.072 GB, free: 136.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03409/1.78, allocations: 13.43 MB / 1.086 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006479/1.786, allocations: 412.7 kB / 1.086 GB, free: 129.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005262/1.787, allocations: 86.7 kB / 1.086 GB, free: 129.6 MB / 0.698 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.002253/1.789, allocations: 0.7738 MB / 1.087 GB, free: 129.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009331/1.79, allocations: 329.2 kB / 1.087 GB, free: 128.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/1.791, allocations: 401.3 kB / 1.087 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.791, allocations: 21.97 kB / 1.088 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.661e-05/1.791, allocations: 9.969 kB / 1.088 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/1.791, allocations: 18.34 kB / 1.088 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006501/1.798, allocations: 3.156 MB / 1.091 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/1.798, allocations: 4 kB / 1.091 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005928/1.804, allocations: 0.5129 MB / 1.091 GB, free: 127.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01794/1.822, allocations: 1.723 MB / 1.093 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007207/1.823, allocations: 55.72 kB / 1.093 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04528/1.868, allocations: 13.93 MB / 1.106 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.868, allocations: 0 / 1.106 GB, free: 115.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02733/1.895, allocations: 5.798 MB / 1.112 GB, free: 110 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/1.898, allocations: 0.668 MB / 1.113 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009835/1.899, allocations: 47.05 kB / 1.113 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006054/1.905, allocations: 395.6 kB / 1.113 GB, free: 108.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/1.906, allocations: 312.5 kB / 1.113 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003295/1.907, allocations: 67.97 kB / 1.114 GB, free: 108.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002919/1.909, allocations: 1.517 MB / 1.115 GB, free: 107 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.11e-07/1.91, allocations: 0 / 1.115 GB, free: 107 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006577/1.916, allocations: 1.621 MB / 1.117 GB, free: 105.4 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 (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.0005524/1.917, allocations: 163 kB / 1.117 GB, free: 105.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.04016/1.957, allocations: 10.08 MB / 1.127 GB, free: 94.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.957, allocations: 4 kB / 1.127 GB, free: 94.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01442/1.971, allocations: 3.487 MB / 1.13 GB, free: 91.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00752/1.979, allocations: 1.048 MB / 1.131 GB, free: 90.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/2, allocations: 7.581 MB / 1.138 GB, free: 82.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/2.002, allocations: 2.306 MB / 1.141 GB, free: 80.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004839/2.007, allocations: 0.6387 MB / 1.141 GB, free: 79.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/2.008, allocations: 179.3 kB / 1.142 GB, free: 79.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/2.008, allocations: 0 / 1.142 GB, free: 79.71 MB / 0.698 GB Notification: Performance of Templates: time 0.1649/2.173, allocations: 74.09 MB / 1.214 GB, free: 6.305 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)