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.001232/0.001232, allocations: 98.92 kB / 16.35 MB, free: 6.352 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.001328/0.001328, allocations: 194.2 kB / 17.29 MB, free: 5.93 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.3 MB / 190.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.873/1.873, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001595/0.001595, allocations: 68.45 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2932, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.3383/0.6315, allocations: 6.242 MB / 0.7909 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005778/0.6373, allocations: 4.556 MB / 0.7953 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005039/0.6379, allocations: 21.56 kB / 0.7953 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002195/0.6401, allocations: 0.9143 MB / 0.7962 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.6421, allocations: 0.7691 MB / 0.797 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.6429, allocations: 328.3 kB / 0.7973 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.6439, allocations: 1.132 MB / 0.7984 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007124/0.6447, allocations: 0.688 MB / 0.7991 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004853/0.6452, allocations: 466.8 kB / 0.7995 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.6458, allocations: 0.4909 MB / 0.8 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.6459, allocations: 74.59 kB / 0.8001 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.6464, allocations: 278.4 kB / 0.8003 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.6466, allocations: 254.2 kB / 0.8006 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003491/0.647, allocations: 409.1 kB / 0.801 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.6481, allocations: 1.072 MB / 0.802 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6481, allocations: 0 / 0.802 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6481, allocations: 1.438 kB / 0.802 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.6481, allocations: 0 / 0.802 GB, free: 41.9 MB / 0.6544 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.001725/0.6498, allocations: 1.096 MB / 0.8031 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.6499, allocations: 14.92 kB / 0.8031 GB, free: 41.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.6531, allocations: 0.6232 MB / 0.8037 GB, free: 41.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.654, allocations: 0.541 MB / 0.8042 GB, free: 40.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.654, allocations: 37.78 kB / 0.8043 GB, free: 40.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6541, allocations: 61.06 kB / 0.8043 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.6562, allocations: 1.026 MB / 0.8053 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.6562, allocations: 1.25 kB / 0.8053 GB, free: 40.19 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.6563, allocations: 21.91 kB / 0.8054 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-05/0.6564, allocations: 50.14 kB / 0.8054 GB, free: 40.17 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.6589, allocations: 1.001 MB / 0.8064 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/0.6629, allocations: 3.486 MB / 0.8098 GB, free: 37.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.6643, allocations: 497.3 kB / 0.8103 GB, free: 36.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/0.6648, allocations: 227.5 kB / 0.8105 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.6649, allocations: 4.172 kB / 0.8105 GB, free: 36.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.6649, allocations: 38.36 kB / 0.8105 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 1.903e-06/0.6649, allocations: 0.625 kB / 0.8105 GB, free: 36.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.006686/0.6716, allocations: 2.018 MB / 0.8125 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.6717, allocations: 54.94 kB / 0.8125 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006499/0.6723, allocations: 0.569 MB / 0.8131 GB, free: 35.81 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.6724, allocations: 36.52 kB / 0.8131 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.6725, allocations: 354.3 kB / 0.8135 GB, free: 35.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.555e-05/0.6726, allocations: 149.1 kB / 0.8136 GB, free: 35.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.6728, allocations: 92.05 kB / 0.8137 GB, free: 35.31 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.728e-05/0.6729, allocations: 372.3 kB / 0.814 GB, free: 34.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.6735, allocations: 261 kB / 0.8143 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.6742, allocations: 362.6 kB / 0.8146 GB, free: 34.69 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.6756, allocations: 0.6283 MB / 0.8153 GB, free: 34.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6756, allocations: 0 / 0.8153 GB, free: 34.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002726/0.6783, allocations: 0.9324 MB / 0.8162 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.6784, allocations: 7.719 kB / 0.8162 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6784, allocations: 2.875 kB / 0.8162 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.6797, allocations: 271.7 kB / 0.8164 GB, free: 33.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.6804, allocations: 124 kB / 0.8166 GB, free: 33.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.686, allocations: 9.106 MB / 0.8254 GB, free: 25.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.6867, allocations: 42.38 kB / 0.8255 GB, free: 25.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.416e-05/0.6868, allocations: 20.44 kB / 0.8255 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008961/0.6877, allocations: 440.2 kB / 0.8259 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006749/0.6884, allocations: 353.5 kB / 0.8263 GB, free: 24.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.6897, allocations: 0.6123 MB / 0.8269 GB, free: 24.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.436e-06/0.6897, allocations: 5.125 kB / 0.8269 GB, free: 24.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002606/0.6923, allocations: 1.12 MB / 0.828 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.6923, allocations: 12.69 kB / 0.828 GB, free: 23.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6923, allocations: 10.81 kB / 0.828 GB, free: 23.81 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008063/0.6931, allocations: 221.8 kB / 0.8282 GB, free: 23.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.6938, allocations: 123.5 kB / 0.8283 GB, free: 23.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/0.6989, allocations: 8.795 MB / 0.8369 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.6996, allocations: 46.67 kB / 0.8369 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.6996, allocations: 19.31 kB / 0.837 GB, free: 15.05 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.0001948/0.6998, allocations: 206.3 kB / 0.8372 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.6999, allocations: 70.52 kB / 0.8372 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.7001, allocations: 79.12 kB / 0.8373 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7001, allocations: 4.594 kB / 0.8373 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/0.7001, allocations: 5.281 kB / 0.8373 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.7002, allocations: 2.938 kB / 0.8373 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.7011, allocations: 0.6456 MB / 0.8379 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7012, allocations: 0 / 0.8379 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005088/0.7017, allocations: 82.08 kB / 0.838 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000987/0.7027, allocations: 264.5 kB / 0.8383 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.7027, allocations: 7.625 kB / 0.8383 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00575/0.7085, allocations: 9.052 MB / 0.8471 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7085, allocations: 5.312 kB / 0.8471 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.7108, allocations: 0.9219 MB / 0.848 GB, free: 5.113 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.7111, allocations: 184.9 kB / 0.8482 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.7112, allocations: 10.38 kB / 0.8482 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005028/0.7117, allocations: 42.44 kB / 0.8483 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7119, allocations: 39.17 kB / 0.8483 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.299e-05/0.7119, allocations: 13.86 kB / 0.8483 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005461/0.7125, allocations: 403.8 kB / 0.8487 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7125, allocations: 0 / 0.8487 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00125/0.7138, allocations: 298.3 kB / 0.849 GB, free: 4.727 MB / 0.6544 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.0001335/0.7139, allocations: 115.4 kB / 0.8491 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003389/0.7173, allocations: 2.35 MB / 0.8514 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.7173, allocations: 4.125 kB / 0.8514 GB, free: 2.953 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.7185, allocations: 1 MB / 0.8524 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000971/0.7195, allocations: 239.9 kB / 0.8526 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.7218, allocations: 1.286 MB / 0.8538 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.7224, allocations: 0.9819 MB / 0.8548 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005513/0.7229, allocations: 153.9 kB / 0.855 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.7231, allocations: 44.34 kB / 0.855 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of SimCode: time 6.71e-07/0.7231, allocations: 4 kB / 0.855 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of Templates: time 0.02215/0.7452, allocations: 13.47 MB / 0.8681 GB, free: 11.84 MB / 0.67 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)