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.715/1.715, allocations: 288.4 MB / 303.4 MB, free: 8.16 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.00105/0.00105, allocations: 182.3 kB / 372 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.814/1.814, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007349/0.0007349, allocations: 105.3 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003772, allocations: 15.03 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2127, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008183/0.2209, allocations: 5.538 MB / 0.985 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006601/0.2276, allocations: 4.257 MB / 0.9891 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009543/0.2286, allocations: 23.88 kB / 0.9892 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007316/0.2294, allocations: 142.9 kB / 0.9893 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.2319, allocations: 0.625 MB / 0.9899 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.233, allocations: 237.6 kB / 0.9901 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.2349, allocations: 1.199 MB / 0.9913 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008882/0.2358, allocations: 488.2 kB / 0.9918 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006821/0.2365, allocations: 386.4 kB / 0.9921 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000991/0.2375, allocations: 462.2 kB / 0.9926 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002375/0.2377, allocations: 35.94 kB / 0.9926 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007338/0.2385, allocations: 143.8 kB / 0.9928 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.2388, allocations: 211.2 kB / 0.993 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.2392, allocations: 165.3 kB / 0.9931 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0011/0.2403, allocations: 0.8145 MB / 0.9939 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2403, allocations: 0 / 0.9939 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2403, allocations: 0 / 0.9939 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.481e-05/0.2403, allocations: 0 / 0.9939 GB, free: 12.93 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.00192/0.2423, allocations: 0.9698 MB / 0.9949 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2423, allocations: 23.95 kB / 0.9949 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.2455, allocations: 0.6466 MB / 0.9955 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008303/0.2464, allocations: 0.5182 MB / 0.996 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.2464, allocations: 41.31 kB / 0.9961 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.981e-05/0.2465, allocations: 47.98 kB / 0.9961 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.2483, allocations: 1.029 MB / 0.9971 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2483, allocations: 0 / 0.9971 GB, free: 9.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.2484, allocations: 24 kB / 0.9971 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/0.2485, allocations: 45.3 kB / 0.9972 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.2506, allocations: 1.008 MB / 0.9982 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.2541, allocations: 3.517 MB / 1.002 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.2554, allocations: 0.5158 MB / 1.002 GB, free: 4.098 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.2559, allocations: 248.6 kB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.256, allocations: 4.531 kB / 1.002 GB, free: 3.848 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.256, allocations: 42.56 kB / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 2.043e-06/0.256, allocations: 0 / 1.002 GB, free: 3.797 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006496/0.2625, allocations: 2.211 MB / 1.005 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.2626, allocations: 59.41 kB / 1.005 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005716/0.2631, allocations: 0.5704 MB / 1.005 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.2632, allocations: 29.7 kB / 1.005 GB, free: 0.8516 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.2634, allocations: 352.2 kB / 1.006 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.758e-05/0.2635, allocations: 153.8 kB / 1.006 GB, free: 360 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.759e-05/0.2635, allocations: 8 kB / 1.006 GB, free: 352 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2636, allocations: 378.7 kB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007071/0.2643, allocations: 280.9 kB / 1.006 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008145/0.2652, allocations: 377.8 kB / 1.007 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.2659, allocations: 309.6 kB / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2659, allocations: 0 / 1.007 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002475/0.2684, allocations: 0.9705 MB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.2685, allocations: 181.9 kB / 1.008 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2686, allocations: 4 kB / 1.008 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.2698, allocations: 284.8 kB / 1.008 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/0.2704, allocations: 131.8 kB / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.278, allocations: 8.476 MB / 1.017 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007634/0.2788, allocations: 52.02 kB / 1.017 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.2788, allocations: 27.98 kB / 1.017 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.2788, allocations: 4 kB / 1.017 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002574/0.2814, allocations: 1.074 MB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2814, allocations: 7.984 kB / 1.018 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007974/0.2823, allocations: 221.4 kB / 1.018 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.2829, allocations: 131.8 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/0.2893, allocations: 8.164 MB / 1.026 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.2901, allocations: 51.95 kB / 1.026 GB, free: 9.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.2901, allocations: 24.06 kB / 1.026 GB, free: 9.426 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.0004544/0.2906, allocations: 309 kB / 1.027 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.2907, allocations: 67.25 kB / 1.027 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.2908, allocations: 78.38 kB / 1.027 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2908, allocations: 7.938 kB / 1.027 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.2909, allocations: 4 kB / 1.027 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2909, allocations: 4 kB / 1.027 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000782/0.2917, allocations: 0.6494 MB / 1.027 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2917, allocations: 144 / 1.027 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004945/0.2922, allocations: 103.8 kB / 1.027 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.2932, allocations: 256.9 kB / 1.028 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.2932, allocations: 8 kB / 1.028 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007018/0.3003, allocations: 8.424 MB / 1.036 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3003, allocations: 0 / 1.036 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.3027, allocations: 0.9599 MB / 1.037 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.303, allocations: 180.3 kB / 1.037 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.3031, allocations: 12 kB / 1.037 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.3036, allocations: 55.91 kB / 1.037 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3038, allocations: 35.94 kB / 1.037 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/0.3038, allocations: 12 kB / 1.037 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005014/0.3043, allocations: 403.1 kB / 1.038 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3043, allocations: 0 / 1.038 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001117/0.3054, allocations: 300 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.0001576/0.3056, allocations: 107.2 kB / 1.038 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004016/0.3096, allocations: 2.43 MB / 1.04 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3096, allocations: 0 / 1.04 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001418/0.3111, 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.001052/0.3121, allocations: 213.9 kB / 1.041 GB, free: 8.656 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.3148, allocations: 1.524 MB / 1.043 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.3154, allocations: 0.986 MB / 1.044 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0006094/0.3161, allocations: 145.4 kB / 1.044 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.3162, allocations: 51.42 kB / 1.044 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of SimCode: time 9.31e-07/0.3162, allocations: 0 / 1.044 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of Templates: time 0.02145/0.3377, allocations: 12.52 MB / 1.056 GB, free: 9.52 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)