Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.879/1.879, allocations: 288.3 MB / 303.2 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 185 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009171/0.0009171, allocations: 82.88 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004251, allocations: 11.09 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.005325/0.2208, allocations: 5.32 MB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004864/0.2257, allocations: 4.141 MB / 0.9887 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.2262, allocations: 19.88 kB / 0.9887 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.2266, allocations: 143 kB / 0.9888 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.228, allocations: 0.6078 MB / 0.9894 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005955/0.2286, allocations: 244.8 kB / 0.9896 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007198/0.2293, allocations: 0.6704 MB / 0.9903 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005048/0.2298, allocations: 484.2 kB / 0.9908 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003305/0.2302, allocations: 338.8 kB / 0.9911 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.2306, allocations: 366.5 kB / 0.9914 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.874e-05/0.2307, allocations: 40 kB / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.231, allocations: 139.8 kB / 0.9916 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2311, allocations: 187.4 kB / 0.9918 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.2312, allocations: 165.3 kB / 0.9919 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006116/0.2318, allocations: 0.8106 MB / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2318, allocations: 0 / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2319, allocations: 0 / 0.9927 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.2319, allocations: 0 / 0.9927 GB, free: 14.02 MB / 0.6198 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.001498/0.2334, allocations: 0.9699 MB / 0.9937 GB, free: 13 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2334, allocations: 12.02 kB / 0.9937 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002989/0.2364, allocations: 0.6544 MB / 0.9943 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007855/0.2372, allocations: 0.526 MB / 0.9948 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.2372, allocations: 33.31 kB / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.2373, allocations: 59.98 kB / 0.9949 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.239, allocations: 1.014 MB / 0.9959 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.239, allocations: 0 / 0.9959 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.379e-05/0.2391, allocations: 24 kB / 0.9959 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-05/0.2391, allocations: 49.22 kB / 0.996 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.2412, allocations: 1.012 MB / 0.997 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.2445, allocations: 3.525 MB / 1 GB, free: 5.699 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.2458, allocations: 0.5151 MB / 1.001 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.2458, allocations: 4 kB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2458, allocations: 42.5 kB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.465e-06/0.2458, allocations: 0 / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006351/0.2522, allocations: 2.22 MB / 1.003 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.2523, allocations: 55.41 kB / 1.003 GB, free: 2.789 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.2528, allocations: 0.5703 MB / 1.004 GB, free: 2.207 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.2529, allocations: 37.7 kB / 1.004 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.2531, allocations: 348.2 kB / 1.004 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.2532, allocations: 153.8 kB / 1.004 GB, free: 1.668 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.2532, allocations: 8 kB / 1.004 GB, free: 1.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.74e-05/0.2533, allocations: 378.7 kB / 1.005 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006059/0.2539, allocations: 272.9 kB / 1.005 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.2546, allocations: 381.8 kB / 1.005 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000623/0.2552, allocations: 309.6 kB / 1.006 GB, free: 300 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2552, allocations: 0 / 1.006 GB, free: 300 kB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002452/0.2577, allocations: 0.9706 MB / 1.006 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005195/0.2582, allocations: 1.221 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2582, allocations: 4 kB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.2594, allocations: 272.8 kB / 1.008 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.2601, allocations: 135.8 kB / 1.008 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007916/0.268, allocations: 8.561 MB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006913/0.2687, allocations: 56.02 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.2688, allocations: 19.98 kB / 1.017 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.2688, allocations: 4 kB / 1.017 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00248/0.2713, allocations: 1.078 MB / 1.018 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.2713, allocations: 8.328 kB / 1.018 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007646/0.2721, allocations: 213 kB / 1.018 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006363/0.2728, allocations: 135.8 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.2789, allocations: 8.235 MB / 1.026 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.2796, allocations: 56.02 kB / 1.026 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.2797, allocations: 23.92 kB / 1.026 GB, free: 9.504 MB / 0.6511 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.0004378/0.2801, allocations: 310.2 kB / 1.026 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.2803, allocations: 71.25 kB / 1.026 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.2805, allocations: 74.38 kB / 1.026 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2805, allocations: 4 kB / 1.026 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.2805, allocations: 3.953 kB / 1.026 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2806, allocations: 7.984 kB / 1.026 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000914/0.2815, allocations: 0.6416 MB / 1.027 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.2815, allocations: 3.984 kB / 1.027 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005112/0.282, allocations: 95.92 kB / 1.027 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009778/0.283, allocations: 269 kB / 1.027 GB, free: 7.957 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.283, allocations: 8 kB / 1.027 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006738/0.2898, allocations: 8.506 MB / 1.036 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2899, allocations: 0 / 1.036 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.2923, allocations: 0.9599 MB / 1.037 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.2927, allocations: 184.2 kB / 1.037 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2928, allocations: 12 kB / 1.037 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.2934, allocations: 47.95 kB / 1.037 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.2936, allocations: 39.94 kB / 1.037 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.2936, allocations: 15.98 kB / 1.037 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005308/0.2941, allocations: 403.1 kB / 1.037 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2941, allocations: 0 / 1.037 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001118/0.2953, allocations: 296 kB / 1.038 GB, free: 12.66 MB / 0.6667 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.0001627/0.2954, allocations: 114 kB / 1.038 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003931/0.2994, allocations: 2.422 MB / 1.04 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2994, allocations: 0 / 1.04 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.3008, allocations: 1.019 MB / 1.041 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008911/0.3017, allocations: 212.2 kB / 1.041 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.3043, allocations: 1.524 MB / 1.043 GB, free: 7.109 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/0.305, allocations: 0.9976 MB / 1.044 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006531/0.3056, allocations: 149.4 kB / 1.044 GB, free: 5.934 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3058, allocations: 39.44 kB / 1.044 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of SimCode: time 5.41e-07/0.3058, allocations: 0 / 1.044 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of Templates: time 0.02192/0.3277, allocations: 12.51 MB / 1.056 GB, free: 9.527 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)