Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.505/1.505, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009543/0.0009544, allocations: 182.4 kB / 327.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007821/0.0007822, allocations: 90.36 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 8.5 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 106.3 MB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005038/0.1662, allocations: 5.835 MB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004756/0.171, allocations: 4.488 MB / 0.9115 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004052/0.1714, allocations: 23.88 kB / 0.9116 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1718, allocations: 150.9 kB / 0.9117 GB, free: 52.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.1733, allocations: 0.7179 MB / 0.9124 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1739, allocations: 287.6 kB / 0.9127 GB, free: 51.94 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.175, allocations: 1.444 MB / 0.9141 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004977/0.1755, allocations: 0.5338 MB / 0.9146 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003567/0.1758, allocations: 402.3 kB / 0.915 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004669/0.1763, allocations: 478 kB / 0.9154 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.592e-05/0.1764, allocations: 32 kB / 0.9155 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.1768, allocations: 311.4 kB / 0.9158 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.177, allocations: 207.2 kB / 0.916 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.1772, allocations: 383.7 kB / 0.9163 GB, free: 48.15 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.1778, allocations: 0.8184 MB / 0.9171 GB, free: 47.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1778, allocations: 4 kB / 0.9171 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1778, allocations: 0 / 0.9171 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.505e-06/0.1778, allocations: 4 kB / 0.9171 GB, free: 47.32 MB / 0.6042 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.001319/0.1791, allocations: 0.9699 MB / 0.9181 GB, free: 46.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.1792, allocations: 8.031 kB / 0.9181 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.1821, allocations: 0.6553 MB / 0.9187 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.1828, allocations: 0.5385 MB / 0.9193 GB, free: 45.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.1828, allocations: 41.67 kB / 0.9193 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.529e-05/0.1829, allocations: 60.11 kB / 0.9194 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.1845, allocations: 1.018 MB / 0.9204 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1846, allocations: 0 / 0.9204 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.315e-05/0.1846, allocations: 27.98 kB / 0.9204 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/0.1847, allocations: 45.28 kB / 0.9204 GB, free: 43.82 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.1868, allocations: 1.02 MB / 0.9214 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.1899, allocations: 3.509 MB / 0.9248 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.1913, allocations: 0.5242 MB / 0.9254 GB, free: 38.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.1918, allocations: 245.2 kB / 0.9256 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/0.1918, allocations: 4 kB / 0.9256 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.1919, allocations: 38.55 kB / 0.9256 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.766e-06/0.1919, allocations: 0 / 0.9256 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.006321/0.1982, allocations: 2.228 MB / 0.9278 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.1983, allocations: 59.34 kB / 0.9279 GB, free: 35.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005253/0.1988, allocations: 0.5704 MB / 0.9284 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.1988, allocations: 41.64 kB / 0.9285 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.199, allocations: 352.2 kB / 0.9288 GB, free: 34.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.1991, allocations: 149.8 kB / 0.9289 GB, free: 34.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1991, allocations: 8 kB / 0.9289 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.1992, allocations: 374.7 kB / 0.9293 GB, free: 34.31 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.1998, allocations: 272.9 kB / 0.9296 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.2005, allocations: 385.8 kB / 0.9299 GB, free: 33.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.2017, allocations: 0.6655 MB / 0.9306 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2017, allocations: 0 / 0.9306 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002163/0.2039, allocations: 0.9819 MB / 0.9315 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.204, allocations: 176.4 kB / 0.9317 GB, free: 31.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.204, allocations: 4 kB / 0.9317 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.205, allocations: 280.8 kB / 0.932 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005707/0.2056, allocations: 127.8 kB / 0.9321 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/0.2104, allocations: 8.486 MB / 0.9404 GB, free: 21.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006432/0.2111, allocations: 56.02 kB / 0.9404 GB, free: 21.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.2111, allocations: 16 kB / 0.9405 GB, free: 21.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.55e-06/0.2111, allocations: 4 kB / 0.9405 GB, free: 21.91 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002055/0.2132, allocations: 1.093 MB / 0.9415 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2132, allocations: 4 kB / 0.9415 GB, free: 20.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006681/0.2139, allocations: 221.1 kB / 0.9417 GB, free: 20.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.2145, allocations: 136 kB / 0.9419 GB, free: 20.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.2184, allocations: 8.156 MB / 0.9498 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.2191, allocations: 56.11 kB / 0.9499 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.2191, allocations: 23.98 kB / 0.9499 GB, free: 11.34 MB / 0.6042 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.0003239/0.2194, allocations: 325.6 kB / 0.9502 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.2195, allocations: 67.16 kB / 0.9503 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.2196, allocations: 78.38 kB / 0.9504 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2197, allocations: 4 kB / 0.9504 GB, free: 10.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.2197, allocations: 8 kB / 0.9504 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2197, allocations: 3.984 kB / 0.9504 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.2203, allocations: 0.6455 MB / 0.951 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.2203, allocations: 0 / 0.951 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.2208, allocations: 99.91 kB / 0.9511 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008749/0.2217, allocations: 269 kB / 0.9514 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.2217, allocations: 8 kB / 0.9514 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004375/0.2261, allocations: 8.427 MB / 0.9596 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2261, allocations: 0 / 0.9596 GB, free: 0.543 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.2283, allocations: 0.9562 MB / 0.9605 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.2286, allocations: 184.2 kB / 0.9607 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.2287, allocations: 11.92 kB / 0.9607 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.2292, allocations: 51.95 kB / 0.9608 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2293, allocations: 43.88 kB / 0.9608 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.2294, allocations: 12 kB / 0.9608 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004629/0.2298, allocations: 403.1 kB / 0.9612 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2299, allocations: 0 / 0.9612 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009932/0.2309, allocations: 300 kB / 0.9615 GB, free: 14.55 MB / 0.6198 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.000135/0.231, allocations: 111.2 kB / 0.9616 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003825/0.2348, allocations: 2.431 MB / 0.964 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2348, allocations: 0 / 0.964 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.2362, allocations: 1.031 MB / 0.965 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.2373, allocations: 219.5 kB / 0.9652 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.2399, allocations: 1.66 MB / 0.9668 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.2405, allocations: 0.9821 MB / 0.9678 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.2406, allocations: 47.42 kB / 0.9678 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of SimCode: time 5.11e-07/0.2407, allocations: 0 / 0.9678 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of Templates: time 0.02933/0.27, allocations: 26.91 MB / 0.9941 GB, free: 12.91 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)