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.001224/0.001223, allocations: 116.5 kB / 16.38 MB, free: 5.992 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.001431/0.001431, allocations: 188.7 kB / 17.31 MB, free: 5.605 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.823/1.823, 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.001397/0.001397, allocations: 67.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2154, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.4035/0.619, allocations: 6.246 MB / 0.7909 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005494/0.6245, allocations: 4.556 MB / 0.7953 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006262/0.6253, allocations: 23.91 kB / 0.7954 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002093/0.6274, allocations: 0.9132 MB / 0.7963 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.6294, allocations: 0.7684 MB / 0.797 GB, free: 44.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000679/0.6301, allocations: 323 kB / 0.7973 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.6312, allocations: 1.135 MB / 0.7984 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.632, allocations: 0.6835 MB / 0.7991 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005511/0.6325, allocations: 474.1 kB / 0.7995 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.6331, allocations: 0.4934 MB / 0.8 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.756e-05/0.6333, allocations: 68.34 kB / 0.8001 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004819/0.6337, allocations: 283.6 kB / 0.8004 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002023/0.634, allocations: 248.8 kB / 0.8006 GB, free: 42.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003412/0.6343, allocations: 412.4 kB / 0.801 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.6354, allocations: 1.075 MB / 0.802 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.6354, allocations: 1.25 kB / 0.802 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6354, allocations: 0 / 0.802 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.6354, allocations: 0 / 0.802 GB, free: 42.09 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.001784/0.6372, allocations: 1.092 MB / 0.8031 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.6373, allocations: 10.23 kB / 0.8031 GB, free: 41.33 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/0.6406, allocations: 0.6278 MB / 0.8037 GB, free: 41.26 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008959/0.6415, allocations: 0.576 MB / 0.8043 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.6415, allocations: 34.47 kB / 0.8043 GB, free: 40.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/0.6416, allocations: 58.14 kB / 0.8044 GB, free: 40.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.6438, allocations: 1.024 MB / 0.8054 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.6438, allocations: 1.703 kB / 0.8054 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-05/0.6439, allocations: 22.89 kB / 0.8054 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.092e-05/0.644, allocations: 49.64 kB / 0.8055 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.6465, allocations: 1.004 MB / 0.8064 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.6508, allocations: 3.49 MB / 0.8098 GB, free: 37.31 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.6524, allocations: 486.9 kB / 0.8103 GB, free: 37.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000577/0.653, allocations: 228.2 kB / 0.8105 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.653, allocations: 4.797 kB / 0.8105 GB, free: 37.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.653, allocations: 40.47 kB / 0.8106 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.965e-06/0.6531, allocations: 0 / 0.8106 GB, free: 37.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.007141/0.6602, allocations: 2.014 MB / 0.8125 GB, free: 36.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.6603, allocations: 60 kB / 0.8126 GB, free: 36.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007398/0.661, allocations: 0.5733 MB / 0.8131 GB, free: 36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.6611, allocations: 31.05 kB / 0.8132 GB, free: 35.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.6613, allocations: 355.1 kB / 0.8135 GB, free: 35.68 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.979e-05/0.6614, allocations: 149.3 kB / 0.8137 GB, free: 35.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.6615, allocations: 91.66 kB / 0.8137 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6616, allocations: 373.3 kB / 0.8141 GB, free: 35.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.6623, allocations: 259.4 kB / 0.8143 GB, free: 35.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.6631, allocations: 360.2 kB / 0.8147 GB, free: 34.89 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/0.6645, allocations: 0.629 MB / 0.8153 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6645, allocations: 1.281 kB / 0.8153 GB, free: 34.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002506/0.667, allocations: 0.9304 MB / 0.8162 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.6671, allocations: 6.938 kB / 0.8162 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.6671, allocations: 3.281 kB / 0.8162 GB, free: 34.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.6682, allocations: 277.4 kB / 0.8165 GB, free: 34.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.6689, allocations: 120.3 kB / 0.8166 GB, free: 34.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/0.6748, allocations: 9.105 MB / 0.8255 GB, free: 25.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007488/0.6756, allocations: 48.11 kB / 0.8255 GB, free: 25.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.6756, allocations: 19.5 kB / 0.8256 GB, free: 25.35 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000981/0.6766, allocations: 441.4 kB / 0.826 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006787/0.6773, allocations: 358.9 kB / 0.8263 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001293/0.6786, allocations: 0.6074 MB / 0.8269 GB, free: 24.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.6786, allocations: 3.906 kB / 0.8269 GB, free: 24.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002399/0.681, allocations: 1.12 MB / 0.828 GB, free: 24.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.681, allocations: 8.172 kB / 0.828 GB, free: 24.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6811, allocations: 8.891 kB / 0.828 GB, free: 24.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007442/0.6818, allocations: 221.3 kB / 0.8282 GB, free: 23.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.6824, allocations: 119.5 kB / 0.8284 GB, free: 23.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004507/0.6869, allocations: 8.803 MB / 0.837 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/0.6877, allocations: 46.83 kB / 0.837 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.6877, allocations: 18.89 kB / 0.837 GB, free: 15.25 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.000225/0.688, allocations: 202.9 kB / 0.8372 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.6881, allocations: 69.12 kB / 0.8373 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.6883, allocations: 80.48 kB / 0.8374 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6883, allocations: 4.562 kB / 0.8374 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.6883, allocations: 5.094 kB / 0.8374 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6883, allocations: 3.484 kB / 0.8374 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008962/0.6892, allocations: 0.6482 MB / 0.838 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6892, allocations: 0 / 0.838 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.6898, allocations: 86.48 kB / 0.8381 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009419/0.6907, allocations: 265.1 kB / 0.8383 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.6908, allocations: 14.55 kB / 0.8383 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005148/0.6959, allocations: 9.042 MB / 0.8472 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.696, allocations: 4.688 kB / 0.8472 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.6983, allocations: 0.9231 MB / 0.8481 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003059/0.6986, allocations: 188.7 kB / 0.8483 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.6987, allocations: 6.375 kB / 0.8483 GB, free: 5.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.6992, allocations: 44.94 kB / 0.8483 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.6994, allocations: 37.28 kB / 0.8483 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.6994, allocations: 17.77 kB / 0.8484 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005545/0.7, allocations: 403.4 kB / 0.8488 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7, allocations: 2.25 kB / 0.8488 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001236/0.7013, allocations: 302.3 kB / 0.849 GB, free: 4.918 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.0001379/0.7014, allocations: 107.3 kB / 0.8491 GB, free: 4.824 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003646/0.7051, allocations: 2.347 MB / 0.8514 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.7051, allocations: 4.125 kB / 0.8514 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.7064, allocations: 1.009 MB / 0.8524 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.7075, allocations: 224.6 kB / 0.8526 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.71, allocations: 1.352 MB / 0.854 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.7105, allocations: 0.9867 MB / 0.8549 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.7107, allocations: 47.41 kB / 0.855 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of SimCode: time 6.72e-07/0.7107, allocations: 0 / 0.855 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of Templates: time 0.03349/0.7442, allocations: 26.98 MB / 0.8813 GB, free: 4.168 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)