Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.686/1.686, allocations: 287.4 MB / 303.2 MB, free: 8.227 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.001115/0.001116, allocations: 178 kB / 371.8 MB, free: 10.83 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.679/1.679, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0008754/0.0008755, allocations: 106.9 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004275, allocations: 14.81 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.004824/0.2241, allocations: 5.538 MB / 0.9847 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.2287, allocations: 4.257 MB / 0.9888 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004389/0.2292, allocations: 23.88 kB / 0.9889 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.2297, allocations: 146.9 kB / 0.989 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.2311, allocations: 0.6201 MB / 0.9896 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.2316, allocations: 241.7 kB / 0.9898 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009372/0.2326, allocations: 1.195 MB / 0.991 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005366/0.2331, allocations: 0.5419 MB / 0.9915 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003745/0.2335, allocations: 382.5 kB / 0.9919 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.234, allocations: 462.2 kB / 0.9923 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.2341, allocations: 32 kB / 0.9924 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2344, allocations: 147.8 kB / 0.9925 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.2346, allocations: 199.3 kB / 0.9927 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2347, allocations: 177.2 kB / 0.9929 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.2353, allocations: 0.8064 MB / 0.9937 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2353, allocations: 4 kB / 0.9937 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2353, allocations: 4 kB / 0.9937 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.365e-06/0.2353, allocations: 0 / 0.9937 GB, free: 13.4 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.001307/0.2366, allocations: 0.9544 MB / 0.9946 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2367, allocations: 8.031 kB / 0.9946 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002774/0.2394, allocations: 0.6592 MB / 0.9952 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.2402, allocations: 0.5462 MB / 0.9958 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.2402, allocations: 45.67 kB / 0.9958 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/0.2403, allocations: 60.06 kB / 0.9959 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.2419, allocations: 1.014 MB / 0.9969 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.2419, allocations: 4 kB / 0.9969 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-05/0.242, allocations: 27.98 kB / 0.9969 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.665e-05/0.2421, allocations: 41.3 kB / 0.9969 GB, free: 9.906 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.2441, allocations: 1.016 MB / 0.9979 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.2474, allocations: 3.509 MB / 1.001 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.2487, allocations: 0.514 MB / 1.002 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004942/0.2492, allocations: 245.2 kB / 1.002 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.2493, allocations: 15.92 kB / 1.002 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.2493, allocations: 34.55 kB / 1.002 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.818e-06/0.2493, allocations: 7.922 kB / 1.002 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.006135/0.2555, allocations: 2.223 MB / 1.004 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.2555, allocations: 55.41 kB / 1.004 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006284/0.2562, allocations: 0.5548 MB / 1.005 GB, free: 1.348 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.2562, allocations: 41.69 kB / 1.005 GB, free: 1.301 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2564, allocations: 360.2 kB / 1.005 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2565, allocations: 149.8 kB / 1.005 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.2565, allocations: 8 kB / 1.005 GB, free: 0.7891 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/0.2566, allocations: 370.8 kB / 1.006 GB, free: 428 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.2572, allocations: 272.9 kB / 1.006 GB, free: 152 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007143/0.2579, allocations: 381.8 kB / 1.006 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.2593, allocations: 0.6655 MB / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2593, allocations: 0 / 1.007 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002409/0.2617, allocations: 0.9779 MB / 1.008 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001199/0.2618, allocations: 186.2 kB / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.2619, allocations: 0 / 1.008 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.263, allocations: 276.9 kB / 1.008 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.2636, allocations: 131.8 kB / 1.009 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007106/0.2707, allocations: 8.483 MB / 1.017 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/0.2714, allocations: 56.02 kB / 1.017 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.2714, allocations: 20 kB / 1.017 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.2715, allocations: 0 / 1.017 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002343/0.2738, allocations: 1.089 MB / 1.018 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.2738, allocations: 4 kB / 1.018 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007567/0.2746, allocations: 221.1 kB / 1.018 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.2752, allocations: 135.8 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006434/0.2816, allocations: 8.156 MB / 1.026 GB, free: 9.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.2824, allocations: 56.08 kB / 1.026 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.2825, allocations: 23.98 kB / 1.026 GB, free: 9.461 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.0004706/0.2829, allocations: 309.5 kB / 1.027 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.2831, allocations: 71.19 kB / 1.027 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.2833, allocations: 78.38 kB / 1.027 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2833, allocations: 3.984 kB / 1.027 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2833, allocations: 0 / 1.027 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.2836, allocations: 184.2 kB / 1.027 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.467e-05/0.2837, allocations: 15.88 kB / 1.027 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/0.2842, allocations: 51.95 kB / 1.027 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.2843, allocations: 39.92 kB / 1.027 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002713/0.2871, allocations: 1.005 MB / 1.028 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002252/0.2893, allocations: 1.105 MB / 1.029 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006719/0.29, allocations: 292.1 kB / 1.029 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005234/0.2906, allocations: 399.1 kB / 1.03 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of Backend: time 7.01e-07/0.2906, allocations: 0 / 1.03 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004084/0.2947, allocations: 2.3 MB / 1.032 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of SimCode: time 0.002898/0.2976, allocations: 2.09 MB / 1.034 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.02868/0.3263, allocations: 15.06 MB / 1.049 GB, free: 2.34 MB / 0.6667 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)