Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.231/2.231, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 183.4 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 102.7 kB / 0.9329 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 49.91 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2598, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006253/0.2661, allocations: 6.248 MB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.005887/0.2721, allocations: 4.546 MB / 1.229 GB, free: 106.4 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.2727, allocations: 27.81 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.2746, allocations: 0.8604 MB / 1.23 GB, free: 105.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.2764, allocations: 0.7048 MB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.2769, allocations: 291.6 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001097/0.2781, allocations: 1.456 MB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.2786, allocations: 487.4 kB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.279, allocations: 422.4 kB / 1.233 GB, free: 102.1 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005278/0.2795, allocations: 0.4942 MB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 7.543e-05/0.2796, allocations: 48 kB / 1.233 GB, free: 101.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.2801, allocations: 311.4 kB / 1.234 GB, free: 101.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.2802, allocations: 227.2 kB / 1.234 GB, free: 101 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.2805, allocations: 385.9 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006888/0.2812, allocations: 1.047 MB / 1.235 GB, free: 99.62 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2812, allocations: 7.875 kB / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2812, allocations: 4 kB / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.2812, allocations: 0 / 1.235 GB, free: 99.61 MB / 0.823 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.00156/0.2828, allocations: 1.091 MB / 1.236 GB, free: 98.46 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2829, allocations: 19.98 kB / 1.236 GB, free: 98.44 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002785/0.2856, allocations: 0.6242 MB / 1.237 GB, free: 97.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.2864, allocations: 0.5424 MB / 1.237 GB, free: 97.23 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.2864, allocations: 41.69 kB / 1.237 GB, free: 97.19 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.2865, allocations: 64.06 kB / 1.238 GB, free: 97.13 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.2881, allocations: 1.01 MB / 1.239 GB, free: 96.08 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.2882, allocations: 0 / 1.239 GB, free: 96.08 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.2882, allocations: 27.98 kB / 1.239 GB, free: 96.05 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.382e-05/0.2883, allocations: 49.28 kB / 1.239 GB, free: 96 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.2903, allocations: 1 MB / 1.24 GB, free: 95 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.2935, allocations: 3.505 MB / 1.243 GB, free: 91.19 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.2948, allocations: 499.2 kB / 1.243 GB, free: 90.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004874/0.2953, allocations: 224.7 kB / 1.244 GB, free: 90.47 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/0.2953, allocations: 4 kB / 1.244 GB, free: 90.47 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.2954, allocations: 34.56 kB / 1.244 GB, free: 90.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=31): time 3.576e-06/0.2954, allocations: 4 kB / 1.244 GB, free: 90.42 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.006078/0.3015, allocations: 2.021 MB / 1.246 GB, free: 88.36 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3015, allocations: 55.41 kB / 1.246 GB, free: 88.29 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/0.302, allocations: 0.5704 MB / 1.246 GB, free: 87.71 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.3021, allocations: 33.7 kB / 1.246 GB, free: 87.67 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3023, allocations: 356.2 kB / 1.247 GB, free: 87.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.444e-05/0.3023, allocations: 149.8 kB / 1.247 GB, free: 87.17 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.3025, allocations: 94.09 kB / 1.247 GB, free: 87.07 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.3026, allocations: 370.7 kB / 1.247 GB, free: 86.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006156/0.3032, allocations: 262.9 kB / 1.248 GB, free: 86.44 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.3038, allocations: 365.8 kB / 1.248 GB, free: 86.03 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.305, allocations: 0.6225 MB / 1.248 GB, free: 85.37 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.305, allocations: 0 / 1.248 GB, free: 85.37 MB / 0.823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002055/0.3071, allocations: 0.9353 MB / 1.249 GB, free: 84.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.3071, allocations: 4 kB / 1.249 GB, free: 84.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3071, allocations: 7.938 kB / 1.249 GB, free: 84.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009961/0.3081, allocations: 273 kB / 1.25 GB, free: 84.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005583/0.3087, allocations: 119.8 kB / 1.25 GB, free: 83.99 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/0.3135, allocations: 8.441 MB / 1.258 GB, free: 74.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006233/0.3141, allocations: 39.95 kB / 1.258 GB, free: 74.72 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.3142, allocations: 24.06 kB / 1.258 GB, free: 74.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008639/0.3151, allocations: 437 kB / 1.258 GB, free: 74.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006379/0.3157, allocations: 353.4 kB / 1.259 GB, free: 73.88 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00118/0.3169, allocations: 0.6129 MB / 1.259 GB, free: 73.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.3169, allocations: 0 / 1.259 GB, free: 73.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002149/0.3191, allocations: 1.132 MB / 1.261 GB, free: 72.01 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.3191, allocations: 4 kB / 1.261 GB, free: 72.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3191, allocations: 4 kB / 1.261 GB, free: 72 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007106/0.3198, allocations: 221.2 kB / 1.261 GB, free: 71.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.3204, allocations: 119.8 kB / 1.261 GB, free: 71.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.3244, allocations: 8.165 MB / 1.269 GB, free: 62.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.3252, allocations: 44.11 kB / 1.269 GB, free: 62.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.3252, allocations: 23.98 kB / 1.269 GB, free: 62.62 MB / 0.823 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.3254, allocations: 208.7 kB / 1.269 GB, free: 62.41 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/0.3255, allocations: 71.16 kB / 1.269 GB, free: 62.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.3257, allocations: 82.38 kB / 1.269 GB, free: 62.26 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3257, allocations: 4 kB / 1.269 GB, free: 62.25 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.3257, allocations: 0 / 1.269 GB, free: 62.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3258, allocations: 7.922 kB / 1.269 GB, free: 62.25 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006744/0.3264, allocations: 0.6455 MB / 1.27 GB, free: 61.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.3264, allocations: 0 / 1.27 GB, free: 61.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.3269, allocations: 83.91 kB / 1.27 GB, free: 61.47 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008675/0.3278, allocations: 260.9 kB / 1.27 GB, free: 61.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.572e-05/0.3278, allocations: 19.98 kB / 1.27 GB, free: 61.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.3324, allocations: 8.388 MB / 1.278 GB, free: 51.98 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3325, allocations: 7.969 kB / 1.278 GB, free: 51.98 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002908/0.3354, allocations: 1.898 MB / 1.28 GB, free: 50 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.3357, allocations: 184.2 kB / 1.28 GB, free: 49.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-05/0.3357, allocations: 8 kB / 1.28 GB, free: 49.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/0.3362, allocations: 39.94 kB / 1.281 GB, free: 49.75 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.3363, allocations: 39.95 kB / 1.281 GB, free: 49.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.3364, allocations: 11.98 kB / 1.281 GB, free: 49.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0003597/0.3368, allocations: 403.1 kB / 1.281 GB, free: 49.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3368, allocations: 0 / 1.281 GB, free: 49.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00117/0.3379, allocations: 307.9 kB / 1.281 GB, free: 49.02 MB / 0.823 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/0.3381, allocations: 111.2 kB / 1.281 GB, free: 48.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.3412, allocations: 2.348 MB / 1.284 GB, free: 46.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.3412, allocations: 0 / 1.284 GB, free: 46.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.3423, allocations: 0.996 MB / 1.285 GB, free: 45.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.3432, allocations: 205 kB / 1.285 GB, free: 45.12 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.3455, allocations: 1.839 MB / 1.287 GB, free: 43.24 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3459, allocations: 0.9975 MB / 1.288 GB, free: 42.22 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0005125/0.3464, allocations: 157.4 kB / 1.288 GB, free: 42.06 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.3465, allocations: 47.42 kB / 1.288 GB, free: 42.02 MB / 0.823 GB Notification: Performance of SimCode: time 8.41e-07/0.3465, allocations: 0 / 1.288 GB, free: 42.02 MB / 0.823 GB Notification: Performance of Templates: time 0.01642/0.3629, allocations: 13.23 MB / 1.301 GB, free: 28.93 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)