Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001287, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 193.5 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222.4 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.9/1.9, allocations: 292.3 MB / 0.5488 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 71.72 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2939, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01014/0.3041, allocations: 6.237 MB / 0.7895 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006779/0.3109, allocations: 4.574 MB / 0.7939 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000531/0.3115, allocations: 23.88 kB / 0.7939 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.314, allocations: 0.9055 MB / 0.7948 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.3163, allocations: 0.7875 MB / 0.7956 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.3171, allocations: 311.5 kB / 0.7959 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001379/0.3185, allocations: 1.133 MB / 0.797 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009059/0.3194, allocations: 0.689 MB / 0.7977 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006391/0.32, allocations: 474.3 kB / 0.7981 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006972/0.3207, allocations: 0.4903 MB / 0.7986 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.3208, allocations: 68 kB / 0.7987 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006373/0.3215, allocations: 275.5 kB / 0.7989 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.3218, allocations: 255.2 kB / 0.7992 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.3222, allocations: 410 kB / 0.7996 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.3234, allocations: 1.063 MB / 0.8006 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3234, allocations: 0 / 0.8006 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3234, allocations: 0 / 0.8006 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.3235, allocations: 0 / 0.8006 GB, free: 11.73 MB / 0.6231 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.001883/0.3254, allocations: 1.098 MB / 0.8017 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.3254, allocations: 8.031 kB / 0.8017 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.3287, allocations: 0.6281 MB / 0.8023 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3297, allocations: 0.5423 MB / 0.8028 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.3298, allocations: 41.67 kB / 0.8029 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.3299, allocations: 52.12 kB / 0.8029 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.3319, allocations: 1.014 MB / 0.8039 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.3319, allocations: 11.94 kB / 0.8039 GB, free: 8.207 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-05/0.332, allocations: 23.98 kB / 0.8039 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-05/0.3321, allocations: 49.28 kB / 0.804 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002448/0.3345, allocations: 1 MB / 0.805 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004474/0.339, allocations: 3.505 MB / 0.8084 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.3406, allocations: 488.8 kB / 0.8089 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.3412, allocations: 232.7 kB / 0.8091 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/0.3412, allocations: 7.984 kB / 0.8091 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.3412, allocations: 34.56 kB / 0.8091 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/0.3412, allocations: 4 kB / 0.8091 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.007026/0.3483, allocations: 2.022 MB / 0.8111 GB, free: 496 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3483, allocations: 55.41 kB / 0.8111 GB, free: 428 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/0.3491, allocations: 0.5706 MB / 0.8117 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.799e-05/0.3492, allocations: 33.7 kB / 0.8117 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.3495, allocations: 352.2 kB / 0.8121 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.3496, allocations: 149.8 kB / 0.8122 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.3498, allocations: 94.16 kB / 0.8123 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.35, allocations: 378.7 kB / 0.8127 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/0.3507, allocations: 254.9 kB / 0.8129 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007601/0.3514, allocations: 369.7 kB / 0.8133 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.3529, allocations: 0.6186 MB / 0.8139 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3529, allocations: 4 kB / 0.8139 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002491/0.3554, allocations: 0.9271 MB / 0.8148 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.3554, allocations: 7 kB / 0.8148 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3554, allocations: 12 kB / 0.8148 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.3566, allocations: 272.9 kB / 0.8151 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006093/0.3572, allocations: 119.8 kB / 0.8152 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007706/0.3649, allocations: 9.111 MB / 0.8241 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.3657, allocations: 51.95 kB / 0.8241 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.3657, allocations: 19.98 kB / 0.8241 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009298/0.3666, allocations: 437 kB / 0.8245 GB, free: 1.688 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007296/0.3674, allocations: 357.4 kB / 0.8249 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001398/0.3688, allocations: 0.6051 MB / 0.8255 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.3688, allocations: 4 kB / 0.8255 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002452/0.3713, allocations: 1.117 MB / 0.8266 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3713, allocations: 16 kB / 0.8266 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3713, allocations: 4 kB / 0.8266 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/0.3721, allocations: 217 kB / 0.8268 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.3727, allocations: 119.8 kB / 0.8269 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006737/0.3795, allocations: 8.805 MB / 0.8355 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008388/0.3804, allocations: 52 kB / 0.8356 GB, free: 5.387 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/0.3804, allocations: 16 kB / 0.8356 GB, free: 5.371 MB / 0.6544 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.0002662/0.3807, allocations: 209.7 kB / 0.8358 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.3808, allocations: 71.19 kB / 0.8358 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.381, allocations: 78.38 kB / 0.8359 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.381, allocations: 8 kB / 0.8359 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.381, allocations: 0 / 0.8359 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3811, allocations: 3.984 kB / 0.8359 GB, free: 5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.3819, allocations: 0.6532 MB / 0.8366 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3819, allocations: 144 / 0.8366 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.3824, allocations: 79.92 kB / 0.8366 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009544/0.3834, allocations: 268.8 kB / 0.8369 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.3834, allocations: 11.98 kB / 0.8369 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007169/0.3906, allocations: 9.058 MB / 0.8458 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3906, allocations: 0 / 0.8458 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.393, allocations: 0.9133 MB / 0.8467 GB, free: 9.074 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002806/0.3933, allocations: 192.2 kB / 0.8468 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.3934, allocations: 11.94 kB / 0.8468 GB, free: 8.855 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.3939, allocations: 39.94 kB / 0.8469 GB, free: 8.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.394, allocations: 35.95 kB / 0.8469 GB, free: 8.781 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.3941, allocations: 19.92 kB / 0.8469 GB, free: 8.762 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004623/0.3945, allocations: 407.1 kB / 0.8473 GB, free: 8.367 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3945, allocations: 0 / 0.8473 GB, free: 8.367 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001066/0.3956, allocations: 300 kB / 0.8476 GB, free: 8.074 MB / 0.67 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.0001348/0.3957, allocations: 107.2 kB / 0.8477 GB, free: 7.961 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003885/0.3996, allocations: 2.403 MB / 0.8501 GB, free: 5.402 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3997, allocations: 0 / 0.8501 GB, free: 5.402 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.4011, allocations: 1.012 MB / 0.851 GB, free: 4.312 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009919/0.4021, allocations: 231.9 kB / 0.8513 GB, free: 4.102 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.4045, allocations: 1.307 MB / 0.8525 GB, free: 2.762 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.4051, allocations: 0.9859 MB / 0.8535 GB, free: 1.75 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005679/0.4057, allocations: 153.3 kB / 0.8537 GB, free: 1.598 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.4058, allocations: 47.42 kB / 0.8537 GB, free: 1.555 MB / 0.67 GB Notification: Performance of SimCode: time 8.21e-07/0.4058, allocations: 0 / 0.8537 GB, free: 1.555 MB / 0.67 GB Notification: Performance of Templates: time 0.02153/0.4273, allocations: 13.44 MB / 0.8668 GB, free: 4.254 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)