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.0009443/0.0009499, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009042/0.0009042, allocations: 177.3 kB / 15.95 MB, free: 216 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.595/1.595, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.659/1.659, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005415/0.0005415, allocations: 19.5 kB / 0.6735 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.228, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.006094/0.2341, allocations: 5.328 MB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.2393, allocations: 4.133 MB / 0.7963 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003077/0.2396, allocations: 23.88 kB / 0.7964 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.24, allocations: 143.1 kB / 0.7965 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2413, allocations: 0.6167 MB / 0.7971 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.2418, allocations: 238.9 kB / 0.7973 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008113/0.2426, allocations: 0.6665 MB / 0.798 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.2432, allocations: 496.2 kB / 0.7985 GB, free: 296 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/0.2436, allocations: 334.8 kB / 0.7988 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005046/0.2441, allocations: 370.6 kB / 0.7991 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.2442, allocations: 32 kB / 0.7992 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.2445, allocations: 135.8 kB / 0.7993 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.2447, allocations: 195.4 kB / 0.7995 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.2449, allocations: 165.3 kB / 0.7996 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007618/0.2457, allocations: 0.8105 MB / 0.8004 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.2457, allocations: 0 / 0.8004 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2457, allocations: 0 / 0.8004 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.2457, allocations: 3.938 kB / 0.8004 GB, free: 14.26 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.001539/0.2472, allocations: 0.966 MB / 0.8014 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2473, allocations: 12.03 kB / 0.8014 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/0.2503, allocations: 0.6583 MB / 0.802 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008544/0.2512, allocations: 0.5182 MB / 0.8025 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.2512, allocations: 45.3 kB / 0.8026 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-05/0.2513, allocations: 55.98 kB / 0.8026 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/0.2531, allocations: 1.014 MB / 0.8036 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2532, allocations: 0 / 0.8036 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.2532, allocations: 23.98 kB / 0.8036 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.737e-05/0.2533, allocations: 49.28 kB / 0.8037 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.2556, allocations: 1.02 MB / 0.8047 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.2595, allocations: 3.521 MB / 0.8081 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.261, allocations: 0.5144 MB / 0.8086 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.261, allocations: 7.984 kB / 0.8086 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.261, allocations: 34.56 kB / 0.8087 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.2611, allocations: 0 / 0.8087 GB, free: 5.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.006666/0.2677, allocations: 2.221 MB / 0.8108 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.2678, allocations: 55.41 kB / 0.8109 GB, free: 3.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.2685, allocations: 0.5703 MB / 0.8114 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.2685, allocations: 29.7 kB / 0.8115 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.2687, allocations: 356.2 kB / 0.8118 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.2689, allocations: 161.7 kB / 0.812 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.2689, allocations: 4 kB / 0.812 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.2691, allocations: 382.7 kB / 0.8123 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006447/0.2697, allocations: 272.9 kB / 0.8126 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.2705, allocations: 377.8 kB / 0.813 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.2712, allocations: 317.6 kB / 0.8133 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2712, allocations: 0 / 0.8133 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002299/0.2735, allocations: 0.9705 MB / 0.8142 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004367/0.274, allocations: 1.217 MB / 0.8154 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.274, allocations: 4 kB / 0.8154 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.275, allocations: 276.8 kB / 0.8157 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/0.2757, allocations: 135.8 kB / 0.8158 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/0.2824, allocations: 8.552 MB / 0.8241 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006089/0.283, allocations: 60.05 kB / 0.8242 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.283, allocations: 19.98 kB / 0.8242 GB, free: 4.371 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.283, allocations: 4 kB / 0.8242 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0022/0.2853, allocations: 1.07 MB / 0.8253 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2853, allocations: 8.031 kB / 0.8253 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007175/0.286, allocations: 220.9 kB / 0.8255 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.2866, allocations: 131.8 kB / 0.8256 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/0.2922, allocations: 8.232 MB / 0.8337 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.2928, allocations: 60 kB / 0.8337 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.2929, allocations: 23.98 kB / 0.8337 GB, free: 9.738 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.0003957/0.2933, allocations: 309 kB / 0.834 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.612e-05/0.2934, allocations: 63.25 kB / 0.8341 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.2935, allocations: 82.38 kB / 0.8342 GB, free: 9.277 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2935, allocations: 4 kB / 0.8342 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.2936, allocations: 0 / 0.8342 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.2936, allocations: 11.88 kB / 0.8342 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007826/0.2944, allocations: 0.6456 MB / 0.8348 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.2944, allocations: 0 / 0.8348 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.2949, allocations: 99.84 kB / 0.8349 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009088/0.2958, allocations: 264.8 kB / 0.8352 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.2958, allocations: 11.98 kB / 0.8352 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006079/0.3019, allocations: 8.507 MB / 0.8435 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3019, allocations: 0 / 0.8435 GB, free: 14.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/0.304, allocations: 0.9639 MB / 0.8444 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.3043, allocations: 180.3 kB / 0.8446 GB, free: 13.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.3044, allocations: 11.95 kB / 0.8446 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.3049, allocations: 51.95 kB / 0.8447 GB, free: 13.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.305, allocations: 39.89 kB / 0.8447 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-05/0.305, allocations: 19.98 kB / 0.8447 GB, free: 13.56 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004122/0.3054, allocations: 399.1 kB / 0.8451 GB, free: 13.18 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3054, allocations: 0 / 0.8451 GB, free: 13.18 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009748/0.3064, allocations: 300 kB / 0.8454 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.000131/0.3065, allocations: 103.2 kB / 0.8455 GB, free: 12.77 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.3101, allocations: 2.414 MB / 0.8478 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3101, allocations: 0 / 0.8478 GB, free: 10.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/0.3114, allocations: 1.027 MB / 0.8488 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.0007919/0.3122, allocations: 205 kB / 0.849 GB, free: 8.898 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.3145, allocations: 1.534 MB / 0.8505 GB, free: 7.344 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005782/0.3151, allocations: 1.005 MB / 0.8515 GB, free: 6.312 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006104/0.3157, allocations: 149.3 kB / 0.8517 GB, free: 6.164 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.3159, allocations: 43.44 kB / 0.8517 GB, free: 6.121 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.3159, allocations: 0 / 0.8517 GB, free: 6.121 MB / 0.67 GB Notification: Performance of Templates: time 0.02225/0.3381, allocations: 12.48 MB / 0.8639 GB, free: 9.777 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: