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.0008359/0.0008359, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.1 MB, free: 5.473 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.664/1.664, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005033/0.0005034, allocations: 12.22 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2375, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006509/0.2441, allocations: 5.538 MB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005952/0.25, allocations: 4.249 MB / 0.7968 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.2505, allocations: 19.88 kB / 0.7969 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004354/0.2509, allocations: 142.9 kB / 0.797 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.2525, allocations: 0.6324 MB / 0.7976 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006024/0.2531, allocations: 243.5 kB / 0.7978 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.2543, allocations: 1.203 MB / 0.799 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/0.255, allocations: 488.2 kB / 0.7995 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.2556, allocations: 382.5 kB / 0.7999 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006592/0.2562, allocations: 458.2 kB / 0.8003 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.2563, allocations: 32 kB / 0.8003 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.2567, allocations: 151.8 kB / 0.8005 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.2569, allocations: 203.3 kB / 0.8007 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.257, allocations: 165.3 kB / 0.8008 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007254/0.2577, allocations: 0.8145 MB / 0.8016 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2577, allocations: 0 / 0.8016 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2578, allocations: 0 / 0.8016 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.2578, allocations: 0 / 0.8016 GB, free: 13.16 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.00143/0.2592, allocations: 0.9698 MB / 0.8026 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2592, allocations: 12.03 kB / 0.8026 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.262, allocations: 0.6505 MB / 0.8032 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007224/0.2628, allocations: 0.5182 MB / 0.8037 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.2628, allocations: 41.23 kB / 0.8037 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-05/0.2629, allocations: 48 kB / 0.8038 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/0.2648, allocations: 1.026 MB / 0.8048 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2648, allocations: 4 kB / 0.8048 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.2649, allocations: 23.98 kB / 0.8048 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-05/0.265, allocations: 53.28 kB / 0.8049 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.2671, allocations: 1.004 MB / 0.8059 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.271, allocations: 3.537 MB / 0.8093 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.2724, allocations: 0.5128 MB / 0.8098 GB, free: 4.316 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/0.273, allocations: 244.7 kB / 0.81 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.207e-05/0.2731, allocations: 8.516 kB / 0.81 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.2731, allocations: 42.56 kB / 0.8101 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/0.2731, allocations: 0 / 0.8101 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.006309/0.2794, allocations: 2.213 MB / 0.8123 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.2795, allocations: 63.34 kB / 0.8123 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.2803, allocations: 0.5704 MB / 0.8129 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.2803, allocations: 33.7 kB / 0.8129 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.2806, allocations: 356.2 kB / 0.8132 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.2807, allocations: 149.8 kB / 0.8134 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.2807, allocations: 8 kB / 0.8134 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2809, allocations: 378.7 kB / 0.8138 GB, free: 184 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/0.2815, allocations: 276.9 kB / 0.814 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006705/0.2822, allocations: 377.8 kB / 0.8144 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006511/0.2829, allocations: 309.6 kB / 0.8147 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.2829, allocations: 4 kB / 0.8147 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002204/0.2851, allocations: 0.9705 MB / 0.8156 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.2852, allocations: 184.4 kB / 0.8158 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2852, allocations: 4 kB / 0.8158 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.2863, allocations: 272.8 kB / 0.8161 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/0.2868, allocations: 131.8 kB / 0.8162 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006711/0.2935, allocations: 8.468 MB / 0.8245 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/0.2942, allocations: 55.94 kB / 0.8245 GB, free: 4.238 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.2942, allocations: 24.06 kB / 0.8245 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/0.2943, allocations: 4 kB / 0.8245 GB, free: 4.211 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002194/0.2965, allocations: 1.078 MB / 0.8256 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2965, allocations: 7.938 kB / 0.8256 GB, free: 3.051 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006911/0.2972, allocations: 217.3 kB / 0.8258 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.2977, allocations: 135.8 kB / 0.8259 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/0.3037, allocations: 8.172 MB / 0.8339 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.3043, allocations: 51.95 kB / 0.834 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.3043, allocations: 24.06 kB / 0.834 GB, free: 9.641 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 (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.0004175/0.3048, allocations: 313 kB / 0.8343 GB, free: 9.324 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3049, allocations: 63.25 kB / 0.8343 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.305, allocations: 82.38 kB / 0.8344 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3051, allocations: 4 kB / 0.8344 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.3051, allocations: 0 / 0.8344 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3051, allocations: 7.984 kB / 0.8344 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.3059, allocations: 0.6416 MB / 0.8351 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3059, allocations: 4 kB / 0.8351 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.3064, allocations: 99.84 kB / 0.8352 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008853/0.3073, allocations: 260.8 kB / 0.8354 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.3073, allocations: 15.98 kB / 0.8354 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006343/0.3136, allocations: 8.416 MB / 0.8436 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3137, allocations: 0 / 0.8436 GB, free: 14.87 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002112/0.3158, allocations: 0.96 MB / 0.8446 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.3161, allocations: 176.3 kB / 0.8448 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.3161, allocations: 8 kB / 0.8448 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.3166, allocations: 59.89 kB / 0.8448 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3167, allocations: 39.91 kB / 0.8449 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.06e-05/0.3167, allocations: 15.98 kB / 0.8449 GB, free: 13.56 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004393/0.3172, allocations: 395.1 kB / 0.8452 GB, free: 13.18 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3172, allocations: 0 / 0.8452 GB, free: 13.18 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009986/0.3182, allocations: 300 kB / 0.8455 GB, free: 12.89 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 (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.0001422/0.3183, allocations: 111.2 kB / 0.8456 GB, free: 12.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003508/0.3218, allocations: 2.418 MB / 0.848 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.3219, allocations: 0 / 0.848 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.3233, allocations: 1.019 MB / 0.849 GB, free: 9.098 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3245, allocations: 209.8 kB / 0.8492 GB, free: 8.891 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.3272, allocations: 1.527 MB / 0.8507 GB, free: 7.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.3278, allocations: 0.9821 MB / 0.8516 GB, free: 6.332 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006241/0.3285, allocations: 149.4 kB / 0.8518 GB, free: 6.184 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3286, allocations: 47.42 kB / 0.8518 GB, free: 6.137 MB / 0.67 GB Notification: Performance of SimCode: time 1.764e-06/0.3286, allocations: 3.938 kB / 0.8518 GB, free: 6.133 MB / 0.67 GB Notification: Performance of Templates: time 0.02131/0.3499, allocations: 12.51 MB / 0.864 GB, free: 9.766 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: