Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.00122/0.001219, allocations: 177.6 kB / 372.3 MB, free: 10.12 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.704/1.704, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.000831/0.0008312, allocations: 86.36 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004287, allocations: 11.19 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2639, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005176/0.2691, allocations: 5.538 MB / 0.9855 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004725/0.2739, allocations: 4.257 MB / 0.9897 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.2743, allocations: 23.88 kB / 0.9897 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.2747, allocations: 138.9 kB / 0.9898 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.2761, allocations: 0.6761 MB / 0.9905 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.2766, allocations: 254 kB / 0.9907 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000832/0.2774, allocations: 1.191 MB / 0.9919 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.278, allocations: 0.538 MB / 0.9924 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003457/0.2783, allocations: 378.5 kB / 0.9928 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.2788, allocations: 462.2 kB / 0.9932 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.2789, allocations: 32 kB / 0.9933 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.2793, allocations: 295.4 kB / 0.9935 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.2794, allocations: 207.3 kB / 0.9937 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.2797, allocations: 375.8 kB / 0.9941 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.2802, allocations: 0.8182 MB / 0.9949 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2802, allocations: 0 / 0.9949 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2802, allocations: 0 / 0.9949 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2802, allocations: 0 / 0.9949 GB, free: 12.13 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.001359/0.2816, allocations: 0.9662 MB / 0.9958 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.2816, allocations: 8.031 kB / 0.9959 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.2845, allocations: 0.6475 MB / 0.9965 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006888/0.2852, allocations: 0.5501 MB / 0.997 GB, free: 9.867 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.2853, allocations: 37.69 kB / 0.9971 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.877e-05/0.2854, allocations: 56.11 kB / 0.9971 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.2871, allocations: 1.025 MB / 0.9981 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2871, allocations: 0 / 0.9981 GB, free: 8.707 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.2872, allocations: 20 kB / 0.9981 GB, free: 8.688 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.489e-05/0.2872, allocations: 53.22 kB / 0.9982 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.2892, allocations: 1.012 MB / 0.9992 GB, free: 7.621 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003367/0.2926, allocations: 3.513 MB / 1.003 GB, free: 3.805 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.294, allocations: 0.5289 MB / 1.003 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.2945, allocations: 248.6 kB / 1.003 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.2945, allocations: 4 kB / 1.003 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.2946, allocations: 38.56 kB / 1.003 GB, free: 2.973 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.457e-06/0.2946, allocations: 3.938 kB / 1.003 GB, free: 2.969 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006185/0.3008, allocations: 2.22 MB / 1.006 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.3008, allocations: 59.41 kB / 1.006 GB, free: 0.6328 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.3013, allocations: 0.5587 MB / 1.006 GB, free: 64 kB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.3014, allocations: 37.7 kB / 1.006 GB, free: 20 kB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.3017, allocations: 356.2 kB / 1.007 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.3019, allocations: 145.9 kB / 1.007 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.3019, allocations: 12 kB / 1.007 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3021, allocations: 370.7 kB / 1.007 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.3028, allocations: 276.9 kB / 1.007 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007612/0.3036, allocations: 381.8 kB / 1.008 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.3051, allocations: 0.6694 MB / 1.008 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3051, allocations: 0 / 1.008 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002384/0.3075, allocations: 0.97 MB / 1.009 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.3076, allocations: 180.5 kB / 1.009 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3077, allocations: 7.984 kB / 1.009 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3088, allocations: 268.9 kB / 1.01 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.3095, allocations: 131.8 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/0.3167, allocations: 8.487 MB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006893/0.3175, allocations: 60.02 kB / 1.018 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.3175, allocations: 19.98 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3175, allocations: 4 kB / 1.018 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/0.3199, allocations: 1.085 MB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3199, allocations: 0 / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007824/0.3207, allocations: 225.2 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/0.3213, allocations: 131.8 kB / 1.02 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.3275, allocations: 8.164 MB / 1.028 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006986/0.3282, allocations: 52.02 kB / 1.028 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.3282, allocations: 20 kB / 1.028 GB, free: 8.18 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004679/0.3287, allocations: 316.9 kB / 1.028 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.3288, allocations: 67.25 kB / 1.028 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.3289, allocations: 78.38 kB / 1.028 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.329, allocations: 4 kB / 1.028 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.329, allocations: 4 kB / 1.028 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.329, allocations: 4 kB / 1.028 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007888/0.3298, allocations: 0.6455 MB / 1.029 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3298, allocations: 0 / 1.029 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.3303, allocations: 107.8 kB / 1.029 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000953/0.3313, allocations: 260.9 kB / 1.029 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/0.3313, allocations: 8 kB / 1.029 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006695/0.338, allocations: 8.431 MB / 1.037 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3381, allocations: 4.031 kB / 1.037 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.3403, allocations: 0.9599 MB / 1.038 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.3406, allocations: 180.3 kB / 1.038 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.3407, allocations: 11.94 kB / 1.038 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004689/0.3412, allocations: 51.95 kB / 1.039 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.3413, allocations: 35.94 kB / 1.039 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.3414, allocations: 15.98 kB / 1.039 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005128/0.3419, allocations: 399.1 kB / 1.039 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1e-07/0.3419, allocations: 0 / 1.039 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001103/0.343, allocations: 300 kB / 1.039 GB, free: 11.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.3432, allocations: 107.2 kB / 1.039 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004001/0.3472, allocations: 2.418 MB / 1.042 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3472, allocations: 4 kB / 1.042 GB, free: 8.711 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.3487, allocations: 1.016 MB / 1.043 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3497, allocations: 213.8 kB / 1.043 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.3523, allocations: 1.529 MB / 1.044 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.3529, allocations: 0.9859 MB / 1.045 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005812/0.3535, allocations: 149.4 kB / 1.045 GB, free: 4.695 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.3536, allocations: 47.42 kB / 1.046 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of SimCode: time 4.01e-07/0.3536, allocations: 0 / 1.046 GB, free: 4.648 MB / 0.6667 GB Notification: Performance of Templates: time 0.02004/0.3737, allocations: 12.65 MB / 1.058 GB, free: 8.137 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)